Guest Posted May 24, 2022 Share Posted May 24, 2022 I used the following CSS code to display a second image on hover. I have three interrelated questions: 1. How do I get the transition to be less abrupt? More of a fade in and out? 2. How do I get a banner with the caption to appear like I would with the native "caption overlay on hover?" 3. How do I get the image to fade into view when scrolled past / fade out when the user scrolls beyond it? Thanks to any help that can be provided. Link to comment
tuanphan Posted May 24, 2022 Share Posted May 24, 2022 Hi. Which CSS code? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted May 24, 2022 Share Posted May 24, 2022 Sorry, realized I forgot to insert the code: <img src="First Image" onmouseover="this.src='Second Image'" onmouseout="this.src='First Image'"> Link to comment
tuanphan Posted May 24, 2022 Share Posted May 24, 2022 1 hour ago, Cryptcocrew said: Sorry, realized I forgot to insert the code: <img src="First Image" onmouseover="this.src='Second Image'" onmouseout="this.src='First Image'"> You can consider using this guide with Image Block. I faced a same question yesterday. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted May 24, 2022 Share Posted May 24, 2022 What difference does this make from the code that I used? Does it address questions (2) and (3) Link to comment
tuanphan Posted May 25, 2022 Share Posted May 25, 2022 It solves #1. With #2. You need to share link to your site, we can check easier With #3. I have no idea. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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