Contact Us | +1 888 239-0733 (Toll free US/CA) Mon-Fri: 7:30am to 4:30pm (PST)
The CSS 'background-clip' property specifies the background's painting area. It determines whether the background extends into the border, beneath the border, or is clipped to the content or padding edge. This property helps create effects where the background needs to be constrained or visually adjusted relative to an element's box model layers.
See the Pen
CSS 'background-clip' Property by Webzstore (@webzstore)
on CodePen. The 'background-clip' property offers fine-grained control over how an element's background is rendered in relation to its box model. By adjusting this property, designers can achieve various effects, enhancing their visual impact. Use 'background-clip' when you want to control the extent of an element's background—whether it should fill the entire box, including the border, stop at the border, or only fill the content or padding area. This property is particularly useful in design scenarios where the background needs to interact closely with the box model for visual effects, such as background bleed, text clipping, or creating borders with background contrast.Browser Support For 'background-clip' Property
4.0 3.0 4.0 9.0 10.5 CSS Syntax of the 'background-clip' Property
background-clip: border-box | padding-box | content-box | initial | inherit;
Usage of the 'background-clip' Property
Property Values of the 'background-clip' Property
"*" indicates required fields