background-clip property in CSS π β³οΈ This property sets the background extension Values:
β³οΈ border-box
β³οΈ padding-box
β³οΈ content-box
β³οΈ text Detail syntax and example is added in thread π§΅π Like and retweet first tweet, if you find this useful.
Follow for more content π
1οΈβ£ background-clip: border-box This is by default.
In this background extends behind the border π
2οΈβ£ background-clip: padding-box The background extends to inside edge of the border π
3οΈβ£ background-clip: content-box The background extends till content box only π
4οΈβ£ -webkit-background-clip:text The background is clipped to show text. Text of color is made transparent to see this working π