Add flexbox support for webkit and IE.

This commit is contained in:
Matt Sweeney 2013-09-05 13:52:42 -07:00
parent d1fb3d4233
commit 8623c984a2

View File

@ -23,6 +23,18 @@
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
*/
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
/* Use flexbox when possible to avoid letter-spacing side-effects.
NOTE: Firefox (as of 25) does not currently support flex-wrap,
so the -moz- version is omitted.
*/
display: -webkit-flex;
-webkit-flex-flow: row wrap;
/* IE10 uses display: flexbox */
display: -ms-flexbox;
-ms-flex-flow: row wrap;
}
/* Opera as of 12 on Windows needs word-spacing.