Skip to content

Instantly share code, notes, and snippets.

@Sadin
Created May 29, 2011 02:06
Show Gist options
  • Save Sadin/997394 to your computer and use it in GitHub Desktop.
Save Sadin/997394 to your computer and use it in GitHub Desktop.
Lightbox CSS3
#lightbox {
background: #fff;
border: 15px solid rgba(0, 0, 0, 0.3);
-moz-border-radius:10px;
-moz-box-shadow: 0 0 1em #fff15b;
-webkit-box-shadow: 0 0 1em #fff15b;
box-shadow: 0 0 1em gold;
-moz-background-clip: border; /* Firefox 3.6 */
-webkit-background-clip: border; /* Safari 4? Chrome 6? */
background-clip: border-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
-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 */
-moz-background-clip: content; /* Firefox 3.6 */
-webkit-background-clip: content; /* Safari 4? Chrome 6? */
background-clip: content-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment