Jump to content

Slow speed of second hover image

Recommended Posts

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')

  

}

Link to comment
  • Replies 1
  • Views 486
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.