Jump to content

Pass through

Go to solution Solved by yubrajs,

Recommended Posts

  • Replies 3
  • Views 993
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Hi, 

Instead of applying transition to an image with class .img; apply it on whole "a" tag. Like:

.thumbnail2 a{

filter: grayscale(0%);

}

.thumbnail2 a:hover{

transition: filter .3s ease-in-out;
  -webkit-filter: grayscale(0%);
  filter: grayscale(100%);

}

Remove below code:

.img {

transition: filter .3s ease-in-out;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);

}

 

 

Link to comment

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.