CSS only Image lightbox Zoom – Editable CSS example

codepen css editable example

Before i start i would like to introduce you to my dear friend Codepen

You can read more about CodePen  in this article

CSS only Image Lightbox zoom

CSS only Image Lightbox zoom - Editable CSS example

 Today i choose to share  an image that zooms out on click. It also includes close button for closing the image after being zoomed out. It resembles “lightbox” effect  to some point and the best part is that is made using CSS only.

CSS only Image Lightbox zoom – Editable CSS example

Check out this Pen!

Feel free to play with it and learn on Codepen.

So go ahead,  Fork this example on Codepen and start creating your own.

Original idea and tutorial  by 

Check some more cool css examples here 

If you liked this CSS only Image Lightbox zoom –  Share it on your Social networks.


Nikola Petrovic
Get in Touch

Nikola Petrovic

Hi there. My name is Nikola,
I speak English, Greek and Serbian.
As a Web Producer i can deal with almost anything web design & development related.
As a freelancer, I charge only a small portion of the money you would pay to agencies to create your website. Affordable web design doesn’t mean that it will lack any of the advanced features of today’s web technology. We just cut out the cost of the middle man.
Feel free to request a free quote using the form on the right or the one bellow.
Nikola Petrovic
Get in Touch