From: Kevin Ball Date: Thu, 1 Jun 2017 23:36:55 +0000 (-0700) Subject: Add a few codepen examples to the docs X-Git-Tag: v6.4.0-rc2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08f141aadba95c9682b1a064fd91308287031a00;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add a few codepen examples to the docs --- diff --git a/docs/pages/xy-grid.md b/docs/pages/xy-grid.md index 96ce3dbbc..985c7f151 100644 --- a/docs/pages/xy-grid.md +++ b/docs/pages/xy-grid.md @@ -47,6 +47,10 @@ These are: The structure of XY grid uses `.grid` and `.cell` as its base. Without [defining a gutter type](#gutters) the cells with simply split up the space without any gutters. +
+edit on codepen button +
+ ```html_example
full width cell
@@ -69,6 +73,10 @@ The structure of XY grid uses `.grid` and `.cell` as its base. Without [defining The defining feature of the XY grid is the ability to use margin AND padding grids in harmony. To define a grid type, simple set `.margin-gutters` or `.padding-gutters` on the grid. +
+edit on codepen button +
+ ```html_example
12/6/4 cells
@@ -190,6 +198,11 @@ All other classes are available eg: `.[size]-vertical-[number]`, `[size]-vertica

Please note for vertical grids to work, the grid needs a height. You can also use [grid frame](#grid-frame) to create a 100 vertical height grid (or 100% height if nested).

+ +
+edit on codepen button +
+ ```html_example
@@ -209,6 +222,9 @@ The XY grid incorporates the grid frame from Foundation for Apps plus many other To start, add `.grid-frame` to the grid. This sets the grid to be 100vh (the full height of the browser window). Here's an example of what you can do: +
+edit on codepen button +
```html_example