What is this?
Lightbox is a solution that loads your image links, your Youtube links and your Vimeo links (also unlisted ones) automatically in a minimalistic and responsive pseudo window/overlay. No adjustment to your code or links is required. Links with the class ’no-lightbox’ open normally.
How to use it?
Just add the following code to your footer.
<a href="image.jpg">image</a>
<link rel="stylesheet" href="lightbox.css" />
<script src="lightbox.js"></script>
Features
The lightbox is a native modal dialog with a smooth fade-in and fade-out effect. Links in the same paragraph or list form a gallery, that you browse with the arrows or the arrow keys. Clicking the background or pressing Escape closes it.
License
This code is licensed WTFPL.