Sha256: 501f6fee8fa376a8f65df370167abc8d9ec346cc9bdfde1d0bb0357d3420912d

Contents?: true

Size: 686 Bytes

Versions: 23

Compression:

Stored size: 686 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"));
///   }
///
///   // CSS Output
///   .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

23 entries across 23 versions & 4 rubygems

Version Path
baseline-scss-0.5.0 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.4.4 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.4.3 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.4.2 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.4.1 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.4.0 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.3.3 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.3.2 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.3.1 src/vendors/bourbon/library/_prefixer.scss
baseline-scss-0.3.0 src/vendors/bourbon/library/_prefixer.scss
bourbon-7.3.0 core/bourbon/library/_prefixer.scss
bourbon-7.2.0 core/bourbon/library/_prefixer.scss
bourbon-7.1.0 core/bourbon/library/_prefixer.scss
geekspace-3.2.0 _sass/bourbon/bourbon/library/_prefixer.scss
geekspace-3.1.2 _sass/bourbon/bourbon/library/_prefixer.scss
geekspace-3.1.1 _sass/bourbon/bourbon/library/_prefixer.scss
bourbon-7.0.0 core/bourbon/library/_prefixer.scss
bourbon-6.0.0 core/bourbon/library/_prefixer.scss
bourbon-5.1.0 core/bourbon/library/_prefixer.scss
bourbon-5.0.1 core/bourbon/library/_prefixer.scss