- Description
Determines the background painting area of the box. Border-box the background will be painted to the borders, padding-box the background will be painted to the padding box.
- Example
div{ background-image:url(image.png); border-box: padding-box; }
- Values
- [border-box | padding-box ] [ , [border-box | padding-box ] ]*
- Default value
- border-box
- Introduced in CSS version
- 3
- Applies to elements
- All
- Inherited
- Yes
- Browser Support
Browsers IE Firefox Safari Opera Chrome Versions 9 -moz- -webkit- none -webkit-
Belongs to:
See the full list CSS properties and browser support: CSS Properties