Jump to content

Image link hover effect

Recommended Posts


My website: http://www.furkhaniqbal.com

I have applied an a hover effect to my images (see below):

img:hover {transform: scale(1.1); transition: .4s;}
img{transform: scale(1); transition: .4s;}

I wanted this hover to appear only on images with hyperlinks, however at the moment it is applying the effect to every image I add onto the website.

How do I change this so it only applies to hyperlinked images?


Edited by visionsbyfurks
Forgot to add website URL
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.