This commit is contained in:
Felix Klement committed 2026-09-20 12:45:33 +02:00
1 parent b244287f6a
commit 5a2d49c17f
77 files changed
+2289 -31

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
---
category: Layout
---
# Container
Centres content to the page width and holds the page margins. Every band of text sits in
one. The only things that may escape it are full-bleed images and video.
Container and Grid are separate on purpose: a band with a single column of text needs the
Container and no grid at all.
```jsx
<Container>
<Grid>…</Grid>
</Container>
```
Astro equivalent: `<div class="container">`.