Docs
Everything the library reads and writes.
The library finds the parts of your page by their data-dlb-* attributes, adds the behaviour, and reports its state
as attributes your CSS can use. It ships no look of its own: dialog-lightbox.css only does layout, in the cascade
layer dialog-lightbox, so your styles win without fighting specificity.
Start with Getting started, then the guide’s chapters; the reference lists every attribute and event.
In this section
- Getting started · Install the library, link your photos and add one dialog.
- Guide · The parts of a lightbox, one chapter each.
- Reference · Gestures, keys and the details.