Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 881 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 881 Bytes

Dbox - an Image Lightbox Using HTML5 Dialog Element

a lightbox script written in es6 using the dialog element and Color Thief to apply the images dominant color to the lightbox background.

object-fit is used to display images in the lightbox. This isn't supported everywhere. see Post on Usage: Limitations for more info

Examples and How To Use:

Post on usage:

https://corydowdy.com/blog/dbox-an-image-lightbox-using-html5-dialog-element