Learn how a CSS-only powered image lightbox works and how to add fancy animations Today we want to show you how to create a neat lightbox effect using only CSS. The idea is to have some thumbnails that are clickable, and once clicked, the respective large image is shown. Using CSS transitions and animations, we can make the large image appear in a fancy way. With the help of the pseudo-class :targ
![CSS-Only Lightbox | Codrops](https://cdn-ak-scissors.b.st-hatena.com/image/square/33ad3f65eb2e0d21242a8b272ad198d2faeb57c1/height=288;version=1;width=512/https%3A%2F%2Fcodrops-1f606.kxcdn.com%2Fcodrops%2Fwp-content%2Fuploads%2F2011%2F12%2FCSS3Lightbox.jpg%3Fx49793)