Zooming image (simple lightbox - medium.com style)

Author's picture
Lindus One
Lindus One
Publication date:
last update:

∼ 20 lines of vanilla javascript with no additional libraries, and we have image zooming similar to medium.com with a fallback when javascript is not present. A few zoom alternatives transition styles. Ultra light lightbox as an example of combining javascript with CSS.