Sha256: 967b5ea0f9fd45c6d9a3c7861ce0fd9f20b920c3b2a8814f7c99dc9cca796943
Contents?: true
Size: 909 Bytes
Versions: 38
Compression:
Stored size: 909 Bytes
Contents
@charset "UTF-8"; /// Outputs the spec and prefixed versions of the `::selection` pseudo-element. /// /// @param {Bool} $current-selector [false] /// If set to `true`, it takes the current element into consideration. /// /// @example scss - Usage /// .element { /// @include selection(true) { /// background-color: #ffbb52; /// } /// } /// /// @example css - CSS Output /// .element::-moz-selection { /// background-color: #ffbb52; /// } /// /// .element::selection { /// background-color: #ffbb52; /// } @mixin selection($current-selector: false) { @include _bourbon-deprecate-for-prefixing("selection"); @if $current-selector { &::-moz-selection { @content; } &::selection { @content; } } @else { ::-moz-selection { @content; } ::selection { @content; } } }
Version data entries
38 entries across 38 versions & 6 rubygems