However, I would like to do three things:
-when i press ESC it simulates clicking the close button;
-when pressing left and right it simulates clicking the left/right button; and,
-when i click off the image, the lightbox closes.
Ideally it would be great if this can be done in pure css.
Here is a fiddle: https://ift.tt/2ZILktK
(If not, willing to accept jquery )
Here is what I have:
<span...
HTML:
from HTML & Website Design https://ift.tt/2ZD3i0M
via IFTTT
0 Comments