HTML and CSS Reference
In-Depth Information
Name
background-clip
Values:
<bg-box> [ , <bg-box> ]*
Expansions:
<bg-box>
border-box | padding-box | content-box
Initial value:
border-box
Applies to:
All elements
Inherited:
No
Computed value:
Same as declared value
Description:
Defines the boundary within the element box at which the background is clipped; that is, no
longer drawn. Historically, this has been equivalent to the default value of border-box , where
the background goes to the outer edge of the border area. This property allows more con-
strained clipping boxes at the outer edge of the padding area and at the content edge itself.
Examples:
body {background-clip: content-box;}
.callout {
background-clip: content-box, border-box,
padding-box;}
Search WWH ::




Custom Search