css.properties

background-clip

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

Formal Syntax

background-clip = <bg-clip># <bg-clip> = <visual-box> | [ border-area || text ]

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