Jump to content

Change image to another image on hover. Using Avenue temple

Recommended Posts

  • Replies 3
  • Created
  • Last Reply
On 7/2/2020 at 8:20 AM, tuanphan said:

hi. Have you solved it yet?

Yeah, I used a simple code that I found. I knew it was simple but couldn't remember how.

 

a.project img {
    filter: grayscale(1);
}
a.project:hover img {
    filter: grayscale(0);
}

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.