Dominique_48 Posted January 4, 2022 Posted January 4, 2022 I am using this custom css plus code block <div id="img-hover"></div> and would like to slow speed so it doesn't jump so quickly from first image to second image. Any help would be much appreciated. #img-hover{ background-image:url('https://static1.squarespace.com/static/61cb2383021d34467e693bf6/t/61cdd953e537667a78e5a6bb/1640880473238/Katy+Hepburn_1SSBend1.png'); height:21vw; width:29vw; background-size:contain;} #img-hover:hover{ background-image:url('https://static1.squarespace.com/static/61cb2383021d34467e693bf6/t/61cdd97310a48011dfc6d8f4/1640880518189/KH+Bend+One+shine+image+1.png') }
tuanphan Posted January 4, 2022 Posted January 4, 2022 Try add this CSS #img-hover { transition: all 0.9s; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment