Sha256: f4e5e0a78f520e074488fe984e0d6edcb36c1fafb95fb6a2a819727fa4a92d70

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

// ---------------------------------------------------------------------------
// swing

@mixin animate-swing($class: $default-animation-class-mode) {
  $name: swing;
  @include keyframes($name) {
    20%, 40%, 60%, 80%, 100% {
      @include transform-origin(top, center); 
    }
    20% {
      @include rotate(15deg); 
    }
    40% {
      @include rotate(-10deg); 
    }
    60% {
      @include rotate(5deg); 
    }
    80% {
      @include rotate(-5deg); 
    }
    100% {
      @include rotate(0deg); 
    } 
  }
  @include animation-class($name, $class) {
    @include transform-origin(top, center);
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
animate-0.1.alpha.0 stylesheets/animate/attention/_swing.scss