Created
July 30, 2012 14:10
-
-
Save fenbox/3207154 to your computer and use it in GitHub Desktop.
multiple box shadows in Sass
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
@mixin box-shadow ($string) { | |
-webkit-box-shadow: $string; | |
-moz-box-shadow: $string; | |
box-shadow: $string; | |
} | |
.stack { | |
@include box-shadow(( | |
1px 1px 0 rgba(0, 0, 0, 0.100), | |
3px 3px 0 rgba(255, 255, 255, 1.0), | |
4px 4px 0 rgba(0, 0, 0, 0.125) | |
)); | |
} | |
// @include box-shadow(( whatever, you, want, just, one, param )); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment