Jump to content

Hover List Image Effect Overflow

Recommended Posts

Site URL: https://tiger-keyboard-84dw.squarespace.com/

Hello,

Page password is 5722

I am currently using this code for hover-zoom effect for List Item Images in my page, however I would like for the entire image to zoom on hover (maybe enable overflow or something) and not just zoom inside the box (hidden overflow). The screenshot of the airplane png on the right is same for the 2 other images, the images zoom within the box so it looks weird and cut off. Code is:

.list-item:hover .list-image {transform:scale(1.2); transition: 1s}
.list-item .list-image{overflow:visible!important}image.thumb.png.449d8ed06a4b72ed8f9c2cae3b5e2705.png

Edited by pinkchoux
Link to comment
  • Replies 1
  • Views 361
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.