CSS Background-Clip Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

Determines the background painting area. 

Syntax

background-clip: [value];

Possible values

  • border-box
  • padding-box
  • content-box
  • no-clip

Initial Value

border-box

Applies To

All elements

Inherited

No

Media

Visual

Example

.box {
  backround-clip: padding-box;
}


View All CSS Properties