Jump to content

Hover effect not working

Recommended Posts

Never tried custom css before, my code isn't working but I don't know where I've gone wrong. The selector is right (it works for grayscale) but the hover effect of the thumbnail floating up a bit on hover isn't working.

any tips?

 

// image hover effect //
.portfolio-grid-overlay .grid-item .grid-image {

       transition: 0.3s !important;

       &:hover {

      transition: 0.3s !important;

      margin-top: -10px;

    }

  }

Edited by Elysian888
Link to comment
  • Replies 1
  • Views 1.1k
  • 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.