Sha256: 5f1364e553fcbe160011c9982b19c02e213075ad40b2890d05c0793d7a34346a
Contents?: true
Size: 714 Bytes
Versions: 3
Compression:
Stored size: 714 Bytes
Contents
//************************************************************************// // Example: @include prefixer(border-radius, $radii, webkit ms spec); //************************************************************************// @mixin prefixer ($property, $value, $prefixes) { @each $prefix in $prefixes { @if $prefix == webkit { -webkit-#{$property}: $value; } @else if $prefix == moz { -moz-#{$property}: $value; } @else if $prefix == ms { -ms-#{$property}: $value; } @else if $prefix == o { -o-#{$property}: $value; } @else if $prefix == spec { #{$property}: $value; } @else { @warn "Unrecognized prefix: #{$prefix}"; } } }
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
bourbon-compass-3.0.1 | stylesheets/bourbon/addons/_prefixer.scss |
bourbon-3.0.1 | app/assets/stylesheets/addons/_prefixer.scss |
bourbon-3.0.0 | app/assets/stylesheets/addons/_prefixer.scss |