/

HTML / CSS / JavaScript Tutorial

CSS Property: background-clip

[this page | pdf | back links]

The CSS (CSS3) background-clip property specifies the painting area of the background.

 

Valid property values (other than inherit and initial) are:

 

Value

Description

border-box

(default value). Background is clipped to the border box

content-box

Background is clipped to the content box

padding-box

Background is clipped to the padding box

 

Default Value:

border-box

JavaScript syntax:

e.g. object.style.backgroundClip="content-box"

Inherited:

No

Animatable:

No

 


NAVIGATION LINKS
Contents | Prev | Next | CSS Properties


Desktop view | Switch to Mobile