Sha256: c3fe0d3900c13e57fb650822497b65030a385c4c08380510f11af1326604498d
Contents?: true
Size: 532 Bytes
Versions: 327
Compression:
Stored size: 532 Bytes
Contents
@mixin box-shadow($shadow...) { @if $enable-shadows { $result: (); @if (length($shadow) == 1) { // We can pass `@include box-shadow(none);` $result: $shadow; } @else { // Filter to avoid invalid properties for example `box-shadow: none, 1px 1px black;` @for $i from 1 through length($shadow) { @if nth($shadow, $i) != "none" { $result: append($result, nth($shadow, $i), "comma"); } } } @if (length($result) > 0) { box-shadow: $result; } } }
Version data entries
327 entries across 327 versions & 35 rubygems