Skip to content

Instantly share code, notes, and snippets.

@nathansmith
Created June 22, 2011 19:25
Show Gist options
  • Save nathansmith/1040919 to your computer and use it in GitHub Desktop.
Save nathansmith/1040919 to your computer and use it in GitHub Desktop.
.background_clip
// Seriously, why isn't this just the
// freakin' default in all browsers?
+background-clip(padding-box)
// Not sure what this does? Have a looksie...
// http://compass-style.org/examples/compass/css3/background-clip
// Crucial, if you have rounded corners on something with
// both background color and a border. Without, background
// will bleed through the border's edge, looking gross.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment