Tuesday, March 14, 2017

background-clip: padding-box;

...in CSS keeps the background from extending beneath the border beyond just the padding. (might be helpful if you have rounded corners)

-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;

No comments:

Post a Comment