Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 1.0 kb

feature: box-sizing status: use tags: fallback prefixes gtie7 border-box kind: css polyfillurls:

box-sizing : 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 to provide this feature in IE 6/7 (you could scope the adjustments using IE conditionals or Modernizr's no-box-sizing).

There are still issues regarding max-height/min-height and box sizing in Gecko/Firefox, see notes at MDN.

Jump to Line
Something went wrong with that request. Please try again.