1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 23:55:24 +00:00
webvirtcloud/dev/scss/bootstrap/mixins/_box-shadow.scss

19 lines
398 B
SCSS
Raw Normal View History

2020-05-19 16:53:54 +00:00
@mixin box-shadow($shadow...) {
@if $enable-shadows {
$result: ();
@each $value in $shadow {
@if $value != null {
$result: append($result, $value, "comma");
}
@if $value == none and length($shadow) > 1 {
@warn "The keyword 'none' must be used as a single argument.";
2020-05-19 16:53:54 +00:00
}
}
2020-05-19 16:53:54 +00:00
@if (length($result) > 0) {
box-shadow: $result;
}
}
}