diff options
author | Barry Clark <barry@barryclark.co> | 2014-06-02 19:10:43 -0400 |
---|---|---|
committer | Barry Clark <barry@barryclark.co> | 2014-06-02 19:10:43 -0400 |
commit | 54d20da44fbbeda2b96d801cd8df93de933b0d8b (patch) | |
tree | d2be5c575892482c9f0a46938fa1cbd1d98cef9c /style.css | |
parent | 29251636829a307ab3bfcc466e20aefdd32c9bba (diff) | |
download | kompetenzbolzen.github.io-54d20da44fbbeda2b96d801cd8df93de933b0d8b.tar.gz |
* { Box-sizing: Border-box } FTW
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -9,7 +9,6 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq font: inherit; vertical-align: baseline; } -/* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } @@ -30,6 +29,11 @@ table { border-collapse: collapse; border-spacing: 0; } +*, *:before, *:after { + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; } + /*/ /* BASE RULES /*/ @@ -44,6 +48,7 @@ body { .container { margin: 0 auto; max-width: 740px; + padding: 0 10px; width: 100%; } h1, h2, h3, h4, h5, h6 { |