Sha256: 424184fb810c2cd73fcd5e92d5303320c6cf399aabaea7bc949ec73ab131732b
Contents?: true
Size: 1.08 KB
Versions: 5
Compression:
Stored size: 1.08 KB
Contents
// @doc off // These defaults make the arguments optional for this mixin // If you like, set different defaults before importing. // @doc on @import "shared"; // The default color for box shadows $default-box-shadow-color: #333333 !default; // The default horizontal offset. Positive is to the right. $default-box-shadow-h-offset: 1px !default; // The default vertical offset. Positive is down. $default-box-shadow-v-offset: 1px !default; // The default blur length. $default-box-shadow-blur: 5px !default; // Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3. // Arguments are color, horizontal offset, vertical offset, and blur length. @mixin box-shadow( $color: $default-box-shadow-color, $hoff: $default-box-shadow-h-offset, $voff: $default-box-shadow-v-offset, $blur: $default-box-shadow-blur ) { @if $color == none { @include experimental(box-shadow, none, -moz, -webkit, -o, not -ms, not -khtml, official ); } @else { @include experimental(box-shadow, $color $hoff $voff $blur, -moz, -webkit, -o, not -ms, not -khtml, official ); } }
Version data entries
5 entries across 5 versions & 1 rubygems