Skip to content

Instantly share code, notes, and snippets.

@gbbowers
gbbowers / multi-shadow
Created September 28, 2010 21:25 — forked from hexorx/multi-shadow
SCSS multi-shadow
@include multi-shadow(rgba(0,0,0,.35) 0 2px 3px 0 inset, rgba(255,255,255,.5) 0 1px 2px);
@mixin multi-shadow($shadow-1, $shadow-2: false, $shadow-3: false, $shadow-4: false, $shadow-5: false, $shadow-6: false, $shadow-7: false, $shadow-8: false, $shadow-9: false) {
$full: $shadow-1;
@if $shadow-2 {
$full: $full + "," + $shadow-2;
}
@if $shadow-3 {
$full: $full + "," + $shadow-3;
}