Sha256: 8dc1d1ab427467c0b6ae58cbb6510cb19563aecd4059e6bc16db943fafe25b72
Contents?: true
Size: 1.14 KB
Versions: 261
Compression:
Stored size: 1.14 KB
Contents
//************************************************************************// // Example: @include prefixer(border-radius, $radii, webkit ms spec); //************************************************************************// // Variables located in /settings/_prefixer.scss @mixin prefixer ($property, $value, $prefixes) { @each $prefix in $prefixes { @if $prefix == webkit { @if $prefix-for-webkit { -webkit-#{$property}: $value; } } @else if $prefix == moz { @if $prefix-for-mozilla { -moz-#{$property}: $value; } } @else if $prefix == ms { @if $prefix-for-microsoft { -ms-#{$property}: $value; } } @else if $prefix == o { @if $prefix-for-opera { -o-#{$property}: $value; } } @else if $prefix == spec { @if $prefix-for-spec { #{$property}: $value; } } @else { @warn "Unrecognized prefix: #{$prefix}"; } } } @mixin disable-prefix-for-all() { $prefix-for-webkit: false; $prefix-for-mozilla: false; $prefix-for-microsoft: false; $prefix-for-opera: false; $prefix-for-spec: false; }
Version data entries
261 entries across 256 versions & 3 rubygems