1
1
mirror of https://github.com/primer/css.git synced 2024-09-22 06:07:31 +03:00

fixes #11: layout grammar

This commit is contained in:
Mark Otto 2015-03-24 10:46:10 -07:00
parent a141439872
commit e4ed1234fb

View File

@ -26,7 +26,7 @@ The container applies `width: 980px;` and uses horizontal `margin`s to center it
## Grid
The grid is pretty standard—you get create rows with `.columns` and individual columns with a column class and fraction class. Here's how it works:
The grid is pretty standard—you create rows with `.columns` and individual columns with a column class and fraction class. Here's how it works:
- Add a `.container` to encapsulate everything and provide ample horizontal gutter space.
- Create your outter row to clear the floated columns with `<div class="columns">`.