]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
box-sizing:border-box to all :before & :after elem 1094/head
authoredbond88 <edbond88@gmail.com>
Tue, 30 Oct 2012 22:34:21 +0000 (00:34 +0200)
committeredbond88 <edbond88@gmail.com>
Tue, 30 Oct 2012 22:34:21 +0000 (00:34 +0200)
Add box-sizing:border-box to *:before and *:after

scss/foundation/common/_globals.scss

index d3f8b99b2ad08b1a8856e33b3620cbc33191bf8b..3759c41b19d4a6b6eb03f3b72836c49ecd4467bd 100644 (file)
@@ -2,7 +2,7 @@
 
 /* Global Reset & Standards ---------------------- */
 
-  * { @include box-sizing(border-box); }
+  *, *:before, *:after { @include box-sizing(border-box); }
   html { font-size: 62.5%; }
   body { background: $white; font-family: $bodyFontFamily; font-weight: $bodyFontWeight; font-style: $bodyFontStyle; font-size: ms(0); line-height: 1; color: $bodyFontColor; position: relative; -webkit-font-smoothing: antialiased; }