Skip to content

Shadow DOM

Mount a sheet inside a shadow root.

Launch the example fullscreen to try touch gestures, animations, and the virtual keyboard.

Interact with the example, switch viewport widths, or open it fullscreen. Phone mode previews layout; use a real phone for touch and keyboard behavior.

View the source on GitHub.