Skip to content

Instantly share code, notes, and snippets.

@fenbox
Created July 30, 2012 14:10
Show Gist options
  • Save fenbox/3207154 to your computer and use it in GitHub Desktop.
Save fenbox/3207154 to your computer and use it in GitHub Desktop.
multiple box shadows in Sass
@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