A M P | Responsive lightbox

An example

Joost v@n Meeteren



Description: Allows for a "lightbox" or similar experience where upon user interaction, a component expands to fill the viewport until it is closed again by the user.

Availability: Stable.

Required Script: <script async custom-element="amp-lightbox" src="https://cdn.ampproject.org/v0/amp-lightbox-0.1.js"></script>.

Examples: https://ampbyexample.com/components/amp-lightbox/.

A M P Sources

Accelerated Mobile Pages Project

GitHub ampproject/amphtml