webkit-background-clip property.”



Sneak — Fixing the background ‘bleed’


“I recently came up with an issue in Safari where the background colour of an element seemed to “bleed’ through the edge of the corners when applying both borders and a border-radius (see the image above). I then found a solution, and it came in the form of the -webkit-background-clip property.”





出典:http://tumble.sneak.co.nz/post/928998513/fixing-the-background-bleed