Skip to content

Instantly share code, notes, and snippets.

@jlittlejohn
Created December 5, 2013 22:39
Show Gist options
  • Save jlittlejohn/7815302 to your computer and use it in GitHub Desktop.
Save jlittlejohn/7815302 to your computer and use it in GitHub Desktop.
SCSS: Transparent Borders
.transparent-border {
-moz-background-clip: padding; /* Firefox 3.6 */
-webkit-background-clip: padding; /* Safari 4? Chrome 6? */
background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
border: 20px solid rgba(0,0,0,0.3);
-webkit-border-radius: 40px;
-moz-border-radius: 40px;
border-radius: 40px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment