From: Geoff Kimball Date: Fri, 11 Dec 2015 20:27:46 +0000 (-0800) Subject: Expand on flex grid docs around how importing works X-Git-Tag: v6.0.6~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c244f2858d30cbaccea103c8aaa05c7aea1a226;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Expand on flex grid docs around how importing works --- diff --git a/docs/pages/flex-grid.md b/docs/pages/flex-grid.md index 79728df01..69cd1053d 100644 --- a/docs/pages/flex-grid.md +++ b/docs/pages/flex-grid.md @@ -16,7 +16,9 @@ The flex grid is only supported in Chrome, Firefox, Safari 6+, IE10+, iOS 7+, an ## Importing -The flex grid is not enabled by default. To use the default CSS, add the export mixin for the flex grid, and remove the default grid. +If you're using the CSS version of Foundation, you'll need to generate a [custom download](http://foundation.zurb.com/sites/download/#customizeFoundation) that replaces the float grid with the flex grid. + +If you're using the Sass version of Foundation, remove the CSS export for the float grid, and replace it with the CSS export for the flex grid. ```scss @import 'foundation'; @@ -25,8 +27,12 @@ The flex grid is not enabled by default. To use the default CSS, add the export @include foundation-flex-grid; ``` -
-

The standard grid and flex grid use the same classes, namely .row and .column, and don't play nice together. If you want to use both in the same project, we recommend using the Sass mixins for each grid, instead of the default CSS.

+
+

The flex grid uses the same settings variables as the float grid to adjust gutter size, column count, and so on. Refer to the Sass variable reference for the default grid to see how the flex grid can be customized.

+
+ +
+

The standard grid and flex grid use some of the same classes, namely .row and .column, and don't play nice together. If you want to use both in the same project, we recommend using the Sass mixins for each grid, instead of the default CSS.

---