Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (8 sloc) 1.185 kb

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

Supported in Chrome, IE8+, Opera, Safari 5.1+. The recommended pattern is box-sizing : border-box;, preceded by the fallbacks -webkit-box-sizing: border-box; for old IOS<=4 and Android<=3, and -moz-box-sizing: border-box; for Firefox. You can apply it to all (*) elements if you like.

IE8 does not support box-sizing: border-box; with min-width/max-width and min-height/max-height. For IE6/7 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).

Besides the prefix, there were box sizing issues in Gecko/Firefox, see notes at MDN. For versions of Firefox before 17 min-height/max-height does not work.

Something went wrong with that request. Please try again.