CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

Background Clip Property in CSS

Background Clip Property

 

 

The background-clip property specifies the painting area of the background.

 

Syntax:-

 

Its syntax is:-

< style >

element{

background-clip: border-box| padding-box| content-box| initial| inherit;

}

< /style >

 

Further Explanation:-

 

Value Description
border-box The background extends behind the border
padding-box The background extends to the inside edge of the border
content-box The background extends to the edge of the content box
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS3

All Sections related to CSS