]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
updates media query grid class docs
authorRafiBomb <rafi@zurb.com>
Tue, 28 Jun 2016 22:56:30 +0000 (15:56 -0700)
committerRafiBomb <rafi@zurb.com>
Tue, 28 Jun 2016 22:56:30 +0000 (15:56 -0700)
docs/pages/media-query.md

index d492252f117e31ad1ec79cfdafb736005d029c6d..8e3f7e72039a9567969c049486a7d9942b4a284d 100644 (file)
@@ -14,15 +14,19 @@ Foundation for Emails has one breakpoint:
 Many components can be modified at different screen sizes using special breakpoint classes. The grid is the most obvious example. 
 
 **CSS Version**
-In the code below, the left-hand column is six columns wide on small screens, hence `.small-6`. On medium-sized screens, the class `.medium-4` overrides the small style, changing the column to be four wide.
+You can define the width of your columns on each breakpoint by using the grid with classes. `.small-6` creates a six column wide container (50%) width on the small breakpont. You can override this behavior on the large breakpoint by definining another size like `.large-4`.
 
 **Inky Version**
 In Inky, you can define the width by using the `small="x"` and `large="x"` attributes.
 
-```
+```inky_example
+<style>
+  .columns {border: 1px solid #333;}
+</style>
+
 <row>
-  <columns small="6" large="4"></columns>
-  <columns small="6" large="8"></columns>
+  <columns small="6" large="4">4 columns, 6 columns on small</columns>
+  <columns small="6" large="8">8 columns, 6 columns on small</columns>
 </row>
 ```