Easy Tutorial
❮ Jsref Getutcdate Prop Email Defaultvalue ❯

backgroundClip Property

Style Object

Example

Specify the painting area of the background:


Definition and Usage

The background-clip property sets or returns the painting area of the background.


Browser Support

Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the backgroundClip property.

Note: Internet Explorer 8 and earlier versions do not support the backgroundClip property.


Syntax

Return the backgroundClip property:

Set the backgroundClip property:

Property Values

Value Description
border-box Default value. The background is clipped to the border box.
padding-box The background is clipped to the padding box.
content-box The background is clipped to the content box.
initial Sets this property to its default value. See initial
inherit Inherits this property from its parent element. See inherit

Technical Details

Default value: border-box
Return value: A string, representing the background-clip property of the element.
--- ---
CSS Version CSS3
--- ---

Related Articles

CSS Reference: background-clip Property


Style Object

❮ Jsref Getutcdate Prop Email Defaultvalue ❯