Since kicking off this site’s build I’ve kept a collection of portfolios with designs, functionality and experiences I find inspiring. The other night, I came across a new one that had a super subtle image zoom experience I really liked so I took a quick look under the hood to see how it was built.
I noticed the image elements had a class of
medium-zoom as well as a
I downloaded the libary, added the
data-zoomable element to the images I wanted zoomable and that was it.
Just like that my site’s images now have zoom 👏
Go ahead and try it out ↴