adjusted version for box-sizing

This commit is contained in:
yoann delpierre 2014-10-22 16:49:33 +02:00
parent 1b9e0bf9f5
commit b7105ba960
3 changed files with 86 additions and 77 deletions

View file

@ -6,11 +6,14 @@
/* == soft reset */ /* == soft reset */
/* ----------------------------- */ /* ----------------------------- */
/* switching box model for all elements */ /* switching box model for all elements */
* { html {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
*, *:before, *:after {
box-sizing: inherit;
}
/* soft reset */ /* soft reset */
html, html,
body { body {

View file

@ -8,9 +8,12 @@
/* ----------------------------- */ /* ----------------------------- */
/* switching box model for all elements */ /* switching box model for all elements */
* { html {
box-sizing: border-box; box-sizing: border-box;
} }
*, *:before, *:after {
box-sizing: inherit;
}
/* soft reset */ /* soft reset */
html, html,

View file

@ -8,9 +8,12 @@
/* ----------------------------- */ /* ----------------------------- */
/* switching box model for all elements */ /* switching box model for all elements */
* { html {
box-sizing: border-box; box-sizing: border-box;
} }
*, *:before, *:after {
box-sizing: inherit;
}
/* soft reset */ /* soft reset */
html, html,