From: RafiBomb Date: Tue, 28 Jun 2016 22:56:30 +0000 (-0700) Subject: updates media query grid class docs X-Git-Tag: v2.2.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d57fd7f160f574e3e7f6c0f57a4fcc54fb1734b3;p=thirdparty%2Ffoundation%2Ffoundation-emails.git updates media query grid class docs --- diff --git a/docs/pages/media-query.md b/docs/pages/media-query.md index d492252f..8e3f7e72 100644 --- a/docs/pages/media-query.md +++ b/docs/pages/media-query.md @@ -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 + + - - + 4 columns, 6 columns on small + 8 columns, 6 columns on small ```