Sha256: 4c32ac8909b4bcf5542731898f46616917e821671330d35765d22d9eacab4393

Contents?: true

Size: 712 Bytes

Versions: 131

Compression:

Stored size: 712 Bytes

Contents

// Return vendor-prefixed property names if appropriate
// Example: transition-property-names((transform, color, background), moz) -> -moz-transform, color, background
//************************************************************************//
@function transition-property-names($props, $vendor: false) {
  $new-props: ();

  @each $prop in $props {
    $new-props: append($new-props, transition-property-name($prop, $vendor), comma);
  }

  @return $new-props;
}

@function transition-property-name($prop, $vendor: false) {
  // put other properties that need to be prefixed here aswell
  @if $vendor and $prop == transform {
    @return unquote('-'+$vendor+'-'+$prop);
  }
  @else {
    @return $prop;
  }
}

Version data entries

131 entries across 124 versions & 21 rubygems

Version Path
middleman-core-4.5.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.5.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.4.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.4.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.4.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.11 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.10 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.8 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.7 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.6 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.5 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.3 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.2 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.1 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
middleman-core-4.3.0 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss
federalist-basic-report-theme-0.1.7 _sass/uswds/lib/functions/_transition-property-name.scss
uswds-jekyll-4.2.0 _sass/uswds/lib/functions/_transition-property-name.scss
middleman-core-4.3.0.rc.4 fixtures/minify-css-app/source/stylesheets/bourbon/functions/_transition-property-name.scss