Jump to content

Upgrade Broke CSS Image Scale on Hover

Recommended Posts

Site URL: https://www.joshlebowitz.com

Hi all,

Just updated my home page with the new grid functionality and it broke this code I was using to scale images on hover on my homepage. Can anyone help me get this working again? Ty!

 

//IMAGE HOVER
.sqs-block-image .design-layout-inline:hover {
 -webkit-transition-duration:.6s;
       -o-transition-duration:.6s;
          transition-duration:.6s;
   -webkit-transform: scale(1.03);
      -ms-transform: scale(1.03);
          transform: scale(1.03);}

.sqs-block-image .design-layout-inline  {
    -webkit-transition: all .6s ease!important;
    -o-transition: all .6s ease!important;
    transition: all .6s ease!important;}

 

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

Top Posters In This Topic

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.