0.5.4 • Published 2 years ago

tween-sass v0.5.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

tween-sass

tween-sass is a SASS single code-line mixin that delivers the possibility for chaining multiple tween components to one tween animation

Usage

  1. Install tween-sass package npm install tween-sass --save-dev
  2. Define mixin on your SASS file @use "tween-sass" as *
  3. Define your animation tweening chain on your element
  4. Run animation with adding ".is--tweening" class to your parent or root element

Custom Configuration

@use "tween-sass" as * with ($parent: "#flyTarget", $activeClass: ".flyContentActive")

Tween Components

There is an overview of all existing components on http://projects.bminusg.de/tween-sass

@use "tween-sass" as *

#example
    @include tween(slideInLeft, wait 2.5s, slideOutRight)
    animation-iteration-count: infinite

Ideation

  • Use tween-group(tween, index, length) mixin for a dynamic offset calculating depending of multiple tweens
0.5.4

2 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.3.2

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago