Jump to content

Image Poster effect on hover - only poster

Recommended Posts

Site URL: https://orchid-piano-9tpj.squarespace.com/

Hi!

I have an HTML to create an effect on hover on images. Is there a code to make this apply to only image poster blocks, and not inline, card, stack etc.?

This is my code now

.image-block:hover img {
  filter: brightness(0.7);
  transition: all .3s ease-in-out; 
}

I want the hover on these images https://orchid-piano-9tpj.squarespace.com/projects

But not on this https://orchid-piano-9tpj.squarespace.com/about

Link to comment
  • Replies 2
  • Views 896
  • Created
  • Last Reply

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.