Skip to content

Commit

Permalink
Box sizing tweak & removed prefixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
invmatt committed Jun 22, 2015
1 parent 6a65df0 commit 3cbee58
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions lib/scss/modules/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
* Layout *
\*----------------------------*/

/**
* Switching box-model for all elements
* 1. ...and pseudo-elements
*/
*,
*:after, /* 1 */
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
html {
box-sizing: border-box;
}
}
*, *:before, *:after {
box-sizing: inherit;
}

0 comments on commit 3cbee58

Please sign in to comment.