Created
April 21, 2016 09:59
-
-
Save Kobold/301a2ba1704917f6909e7054c28cd4de to your computer and use it in GitHub Desktop.
Classy little helper CSS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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