# <fullscreen>

A fixed canvas exactly the size of the screen, clipped, for games, posters and kiosk pages.

Category: Layout.

```ham
<fullscreen>
    <block style="w-full h-full bg-img-https://hypeapps.dev/gallery/assets/landscape.jpg bg-img-fit-cover items-center justify-center">
        <text style="text-white text-3xl font-bold">Summer Fair</text>
        <text style="text-white">Saturday 14 June · Town Square</text>
    </block>
</fullscreen>
```

How Hype Apps draws it on a phone: [light](https://hypeapps.dev/img/tags/fullscreen-light.webp), [dark](https://hypeapps.dev/img/tags/fullscreen-dark.webp).

## Attributes

| Name | What it does | Default |
|---|---|---|
| `bounce` | Rubber-band drag margin in px; bare bounce = 20. The frame springs back on release. |  |
| `scroll` | true lets taller content scroll inside the fixed frame. | `false` |

Any tag also takes gestures: `@on.tap`, `@on.longpress`, `@on.doubletap` and `@on.swipeleft` (and right, up and down). `@click` runs on a tap too.

## Related tags

- [`<block>`](https://hypeapps.dev/docs/reference/block.md): The general-purpose container: groups children and gives them padding, color, corners and a border.
- [`<text>`](https://hypeapps.dev/docs/reference/text.md): A run of text; with @text it shows an expression that updates as its variables change.
- [`<address>`](https://hypeapps.dev/docs/reference/address.md): Contact details as a block, in italic by default, as HTML's address element.
- [`<aside>`](https://hypeapps.dev/docs/reference/aside.md): A side note set apart from the main text, as HTML's aside element; it works like a block.
- [`<background>`](https://hypeapps.dev/docs/reference/background.md): The layer a swiped dismissible row reveals behind it, such as a red delete strip.
- [`<card>`](https://hypeapps.dev/docs/reference/card.md): A surface for grouped content, with padding, rounded corners and a soft shadow.
- [`<center>`](https://hypeapps.dev/docs/reference/center.md): Centers its children and their lines of text, on both axes or only one.
- [`<col>`](https://hypeapps.dev/docs/reference/col.md): A box inside a row; its flex value sets its share of the row's width.

All tags: https://hypeapps.dev/docs/reference.md · The full reference: https://hypeapps.dev/llms.txt
