]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Update grid.md with grid-column-position(center) 7918/head
authorAdrian <adrian.tomic@gmail.com>
Tue, 19 Jan 2016 10:32:45 +0000 (11:32 +0100)
committerAdrian <adrian.tomic@gmail.com>
Tue, 19 Jan 2016 10:32:45 +0000 (11:32 +0100)
Added description on how to center a column semantically.

docs/pages/grid.md

index 8953e03ea6ab0b7e830e56ecb5c44143b1f1aba2..8e4a92c2c0678c304c5ccacbd3d63eb593f8b5e5 100644 (file)
@@ -498,6 +498,14 @@ The grid column calculator can also be accessed as a function. This gives you th
 }
 ```
 
+To center a column semantically. Use ´grid-column-position(center);´.
+
+```scss
+.centered-column {
+  @include grid-column-position(center);
+}
+```
+
 ---
 
 ### Multiple Grids