+ 4
What is the uses of background-clip in css?
I want to know about this css properties. where to use and what is the importance of this property. give me a suitable example of it. you can also suggest a link for it.
3 Answers
+ 4
it just means what's included in width and height attributes, ( i.e content, padding, border)
this one's important to remember, coz we have 3 similar properties
1. background-origin : for images
2. background-clip: for background color
3. box-sizing : overall element
all 3 can have the same values,
border-box
padding-box
content-box
and similar meaning but for different stuffs i.e. image, color, HTML element
+ 3
I couldn't under stand your answer please write down a short code for it
+ 2
https://www.w3schools.com/cssref/css3_pr_background-clip.asp
It is used to achieve a desired effect.