Example

A simple background-clip property example:

Laboratory

description & Usage

Background-clip property is used to determine the size of a background image.

Informations

# Description
Default Value border-box
Inherited no
Animatable no
Version CSS3
JavaScript syntax object.style.backgroundClip="content-box"

Syntax

Values

Values Description
border-box Default value.
content-box The background extends to the edge of the text area.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.