Sha256: 9c3d41db47124b6f172660dae7c32ea90459e21d363772ac2db162e1f341bee9

Contents?: true

Size: 1.09 KB

Versions: 15

Compression:

Stored size: 1.09 KB

Contents

/******************************************************************************/
// _animation.scss
//
// DESCRIPTION: a set of mixins to simplify cross-browser animation

$vendor: '', '-webkit-', '-moz-', '-ms-', '-o-';

@mixin animation-timing-function($name) {
  @each $prefix in $vendor {
    #{$prefix}animation-timing-function: $name;
  }
}

@mixin animation-name($name) {
  @each $prefix in $vendor {
    #{$prefix}animation-name: $name;
  }
}

@mixin animation-fill-mode($mode) {
  @each $prefix in $vendor {
    #{$prefix}animation-fill-mode: $mode;
  }
}

@mixin animation-duration($duration) {
  @each $prefix in $vendor {
    #{$prefix}animation-duration: $duration;
  }
}

@mixin animation-iteration-count($value) {
  @each $prefix in $vendor {
    #{$prefix}animation-iteration-count: $value;
  }
}

@mixin animation-delay($value) {
  @each $prefix in $vendor {
      #{$prefix}animation-delay: $value;
  }
}

@mixin keyframes($name) {
  @-webkit-keyframes #{$name} { @content; }
  @-moz-keyframes #{$name} { @content; }
  @-ms-keyframes #{$name} { @content; }
  @keyframes #{$name} { @content; }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
woo-0.2.0 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.12 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.11 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.10 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.9 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.8 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.7 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.6 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.5 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.4 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.3 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.2 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.0 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.1.0.pre1 app/assets/stylesheets/woo/lib/_animation-mixins.scss
woo-0.0.1 app/assets/stylesheets/styleguide/lib/_animation-mixins.scss