Allow box shadow to be turned off by @include box-shadow(none). Closes GH-102.
This commit is contained in:
parent
1b0e4519e1
commit
909fb92ad3
@ -26,5 +26,9 @@ $default-box-shadow-blur: 5px !default;
|
||||
$voff: $default-box-shadow-v-offset,
|
||||
$blur: $default-box-shadow-blur
|
||||
) {
|
||||
@include experimental(box-shadow, $color $hoff $voff $blur);
|
||||
@if $color == none {
|
||||
@include experimental(box-shadow, none);
|
||||
} @else {
|
||||
@include experimental(box-shadow, $color $hoff $voff $blur);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user