next
This commit is contained in:
1 parent
b244287f6a
commit
5a2d49c17f
77 files changed
+2289
-31
No files matched your search
@@ -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">`.
|
||||
Reference in new issue
Block a user