Example
Shadow
Adds a box shadow to an element. Inset parameter can be used to make an inset box shadow. The third parameter can use box-shadow properties to create a more customized shadow.
HTML:
<span class="mixin-example-shadow">_</span>
SCSS:
.mixin-example-shadow {
@include shadow(2, true);
}
Classes
Mixin | Parameters | Values |
ratio | level, inset, result | (number), boolean, (CSS box-shadow property name string) |