Created
February 25, 2011 06:04
-
-
Save visnup/843425 to your computer and use it in GitHub Desktop.
shadows, even with fallbacks for ie <9
This file contains hidden or 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($color: hsla(0, 0%, 0%, 0.4)) | |
:-webkit-box-shadow 0px 0px 5px $color | |
:-moz-box-shadow 0px 0px 5px $color | |
:box-shadow 0px 0px 5px $color | |
html.ie8 &, html.ie7 &, html.ie6 & | |
:border solid 1px #ccc // fine, just border it with gray | |
// and then usable on any random element: | |
#portrait img | |
+shadow | |
header | |
nav | |
+shadow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment