Skip to content

Instantly share code, notes, and snippets.

@Kobold
Created April 21, 2016 09:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Kobold/301a2ba1704917f6909e7054c28cd4de to your computer and use it in GitHub Desktop.
Classy little helper CSS.
/* A very classy shadow. */
.classy-shadow {
box-shadow: -1px 0 0 0 #d1d1d1,
-1px 0 0 0 #e5e5e5,
1px 0 0 0 #d1d1d1,
2px 0 0 0 #e5e5e5,
0 -1px 0 0 #e7e7e7,
0 2px 0 0 rgba(240, 240, 240, 0.3),
0 1px 0 0 #b0b0b0;
}
/* A very non-aggressive border. */
.light-border:after {
border: 1px solid rgba(0, 0, 0, .1);
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment