macynovember Posted August 29 Share Posted August 29 Hi hi!! Anyone has an idea how to make image appears when hover over a code block/ markdown block? I tried markdown block code that was suggested on here before and it doesn't work. I'm working on this site: https://transformersfoundation.org/annual-report-2024. What I'm looking for: - When hover over the grey shape it changes colour. My problem: - I can't use this code since the hover image is full size of the original image 😞 #block { opacity: 0; transition: opacity 1s } #block:hover { opacity: 1; transition: opacity 1s } My question: 1. If there is a way to have a photo appears on hovering over a code block? 2. If there is a smarter way of making the grey shapes change their colours on hover? Thank you so much! Link to comment
Ziggy Posted August 29 Share Posted August 29 Do you want each grey shape to change colour independently? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
macynovember Posted August 29 Author Share Posted August 29 Yes that's the goal!! Right now my plan is to export the coloured graphics individually. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment