Jump to content

Custom hover scale issue (Code Block)

Go to solution Solved by Sahil007,

Recommended Posts

Site URL: https://turtle-smilodon-9sl8.squarespace.com/

Password: 1234

Hi, I'm an amateur testing some coding, and require some hover coding help.

I've made a few coding blocks with images to enable a custom lightbox setup.
I'd like the image to scale up on hover, but am unable to keep the image scale within the divs bounds.
I've attached examples of how the image scales up beyond its original borders.

Could anyone be so kind as to help me solve this?

10.jpg

11.jpg

Link to comment
  • Replies 1
  • Views 132
  • 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.