aboutsummaryrefslogtreecommitdiff
path: root/scss/_reset.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_reset.scss')
-rw-r--r--scss/_reset.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/scss/_reset.scss b/scss/_reset.scss
index dce28d6..fcf2bf0 100644
--- a/scss/_reset.scss
+++ b/scss/_reset.scss
@@ -23,7 +23,7 @@ time, mark, audio, video {
font: inherit;
vertical-align: baseline;
}
-/* HTML5 display-role reset for older browsers */
+// HTML5 display-role reset for older browsers
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
@@ -46,3 +46,8 @@ table {
border-collapse: collapse;
border-spacing: 0;
}
+// Apply a natural box layout model to all elements
+// from: http://www.paulirish.com/2012/box-sizing-border-box-ftw/
+*, *:before, *:after {
+ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
+}