Raised or Grow State on Image upon Hover

I am trying to figure out the CSS I could use on a landing page with lots of images so the effect of each image when you hover over it is to be raised or grow.

Have had trouble finding a solution in community, so its about time I ask directly to the community!

It looks like it is outlined here, but not sure how I would implement on an unbounce page, especially with many images:

https://www.w3schools.com/howto/howto_css_zoom_hover.asp

Thank you!

Hi @yoav,

A few months back Unbounce added the ability to assign custom classes to elements on your page.

So in order to apply the CSS you’ve linked above, all you have to do is:

  1. Apply a custom class to each image (ex. zoom)

  1. Copy/paste the CSS from the example without the div part and also without the green square.

Publish/republish your page and you are done.

Here is an example page: https://hello.revise.agency/zoom-image/

Best,
Hristian

1 Like