css.properties

background-clip

The background-clip property specifies the clipping area for a background image.

Formal Syntax

<bg-clip>#

See specification

JavaScript Access

// Access via element.style
element.style.backgroundClip = 'border-box';

Browser Support

standard | MDN · Spec · Spec

FeatureChromeFirefoxSafariEdge
background-clip14512
border-area18.2
border-box14312
content-box14312
padding-box14312
text1204914120

Related Properties