Created
June 8, 2013 02:46
-
-
Save SaraSoueidan/5733782 to your computer and use it in GitHub Desktop.
CSS Drop Shadows in 4 directions
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
.drop-shadow { | |
background: #9479fa; | |
} | |
.drop-shadow.top { | |
box-shadow: 0 -4px 2px -2px rgba(0,0,0,0.4) | |
} | |
.drop-shadow.right { | |
box-shadow: 4px 0 2px -2px rgba(0,0,0,0.4) | |
} | |
.drop-shadow.bottom { | |
box-shadow: 0 4px 2px -2px rgba(0,0,0,0.4) | |
} | |
.drop-shadow.left { | |
box-shadow: -4px 0 2px -2px rgba(0,0,0,0.4) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment