Skip to content

Commit

Permalink
Bring back box-sizing reset.
Browse files Browse the repository at this point in the history
Props @chrisdc.
See #674.
  • Loading branch information
obenland committed Dec 31, 2014
1 parent 6c47be9 commit 115221e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sass/elements/_elements.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
html {
box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
Expand Down
4 changes: 4 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ big {
/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
html {
box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
Expand Down

0 comments on commit 115221e

Please sign in to comment.