Debian Codegraph @

lib/animation/animate/_classes.scss

raw
1 // .animated and .animated.hinge classes for external use
2 .animated {
3 @include animation(1s ease both); }
4
5 .animated.hinge {
6 @include animation(2s ease both); }
7
8 // Animations list
9 $animations: flash, shake, bounce, tada, swing, wobble, wiggle, pulse, flip, flipInX, flipOutX, flipInY, flipOutY, fadeIn, fadeInUp, fadeInDown, fadeInLeft, fadeInRight, fadeInUpBig, fadeInDownBig, fadeInLeftBig, fadeInRightBig, fadeOut, fadeOutUp, fadeOutDown, fadeOutLeft, fadeOutRight, fadeOutUpBig, fadeOutDownBig, fadeOutLeftBig, fadeOutRightBig, bounceIn, bounceInDown, bounceInUp, bounceInLeft, bounceInRight, bounceOut, bounceOutDown, bounceOutUp, bounceOutLeft, bounceOutRight, rotateIn, rotateInDownLeft, rotateInDownRight, rotateInUpLeft, rotateInUpRight, rotateOut, rotateOutDownLeft, rotateOutDownRight, rotateOutUpLeft, rotateOutUpRight, lightSpeedIn, lightSpeedOut, hinge, rollIn, rollOut;
10
11 // Animations that require backface-visibility
12 $backface: flip, flipInX, flipOutX, flipInY, flipOutY;
13
14 // Creation of the different classes
15 @each $anim in $animations {
16 .#{$anim} {
17 @if index($backface, $anim) {
18 @include backface-visibility(visible); }
19 @if $anim == "swing" {
20 @include transform-origin(top, center); }
21 @include animation-name($anim); } }