CSS background-clip property
CSS background-clip property specifies the boundary of the background painting area.
background-clip : border-box | padding-box | content-box
In this case, the background of all of the areas within border-box is painted such as content area, padding area, and border area.
In this case, the areas that are within padding-box are painted such as the padding and the content areas.
The only background of content-area is painted i.e. excluding the other two areas.
It applies to all elements
Was this article helpful?
We are observing background-clip property for different values of the background-clip property.