Skip to content

Commit

Permalink
boxsizing link
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Feb 6, 2012
1 parent 60724bc commit 6ea2769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posts/box-sizing.md
Expand Up @@ -4,4 +4,4 @@ tags: fallback prefixes gtie7 border-box
kind: css kind: css
polyfillurls: polyfillurls:


<a href="http://css-tricks.com/box-sizing/">`box-sizing`</a>`: border-box` may be a much more sensible default for you. You can apply it to all (`*`) elements if you like. Firefox is the only browser that requires a prefix for box-sizing. You can use it without a prefix for everything else. IE8 has this feature natively, and you can optionally use the [box-sizing polyfill](https://github.com/Schepp/box-sizing-polyfill) to provide this feature in IE 6/7 (you could scope the adjustments using [IE conditionals](http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/) or Modernizr's <a href="http://www.modernizr.com/download/#-cssclasses-addtest-css_boxsizing">`no-box-sizing`</a>). <a href="http://paulirish.com/2012/box-sizing-border-box-ftw/">`box-sizing : border-box`</a> may be a much more sensible default for you. You can apply it to all (`*`) elements if you like. Firefox is the only browser that requires a prefix for box-sizing. You can use it without a prefix for everything else. IE8 has this feature natively, and you can optionally use the [box-sizing polyfill](https://github.com/Schepp/box-sizing-polyfill) to provide this feature in IE 6/7 (you could scope the adjustments using [IE conditionals](http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/) or Modernizr's <a href="http://www.modernizr.com/download/#-cssclasses-addtest-css_boxsizing">`no-box-sizing`</a>).

0 comments on commit 6ea2769

Please sign in to comment.