---
url: /reference/items/Sheet/examples.md
---
# Examples
## Bottom sheet
Click the Open sheet button, then swipe the sheet down to dismiss it: drag it down on a touch screen, scroll up with a mouse wheel, or swipe down with two fingers on a trackpad. The backdrop opacity and the corner radius follow the gesture through the `--sheet` view timeline, with the `--sheet-progress` fallback where view timelines are not supported. The close button, the backdrop and Esc close it too. See [the required CSS](./index.md#the-required-css).
:::code-group
```css
html.dark {
background-color: #222;
color: #eee;
}
body {
padding: 1rem;
}
/* The host: a transparent, full-viewport box. The user-agent styles of a
modal