Created
August 4, 2012 23:23
-
-
Save unix7/3260560 to your computer and use it in GitHub Desktop.
Shadow on Top of Image
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
/** | |
* Shadow on Top of Image | |
* @author: Affan Ruslan | |
* @link: Affanruslan.com | |
* Use shadow box for the primary (top) menu. | |
* Use inset shadow for the secondary (bottom) menu. | |
* Preview http://imgur.com/QTKNO | |
*/ | |
.menu-primary { | |
-webkit-box-shadow: 0 4px 4px -2px #666; | |
-moz-box-shadow: 0 4px 4px -2px #666; | |
box-shadow: 0 4px 4px -2px #666; | |
} | |
.menu-secondary { | |
-webkit-box-shadow: inset 0 4px 4px -2px #666; | |
-moz-box-shadow: inset 0 4px 4px -2px #666; | |
box-shadow: inset 0 4px 4px -2px #666; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment