Skip to content

Instantly share code, notes, and snippets.

@danielwrobert
Forked from nathansmith/background_clip.sass
Created June 22, 2011 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielwrobert/1040997 to your computer and use it in GitHub Desktop.
Save danielwrobert/1040997 to your computer and use it in GitHub Desktop.
*
// 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