Sha256: 9dc79cb4a4ee97f96e79099b25f31c83e6599c809ed17dcd94257c64d148bdd2

Contents?: true

Size: 692 Bytes

Versions: 2

Compression:

Stored size: 692 Bytes

Contents

@charset "UTF-8";

/// Generates vendor prefixes.
///
/// @argument {string} $property
///   Property to prefix.
///
/// @argument {string} $value
///   Value to use.
///
/// @argument {list} $prefixes
///   Vendor prefixes to output.
///
/// @example scss
///   .element {
///     @include prefixer(appearance, none, ("webkit", "moz"));
///   }
///
/// @example css
///   .element {
///     -webkit-appearance: none;
///     -moz-appearance: none;
///     appearance: none;
///   }
///
/// @author Hugo Giraudel

@mixin prefixer(
    $property,
    $value,
    $prefixes: ()
  ) {

  @each $prefix in $prefixes {
    #{"-" + $prefix + "-" + $property}: $value;
  }
  #{$property}: $value;
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
garth-jekyll-theme-0.1.9 _sass/bourbon/bourbon/library/_prefixer.scss
bourbon-5.0.0.beta.6 core/bourbon/library/_prefixer.scss