Last active
December 11, 2015 07:39
-
-
Save bumpux/4567791 to your computer and use it in GitHub Desktop.
A LESS mixin to tweak options in animate.css (https://github.com/daneden/animate.css). Once in place you can do: .animated-tweaker(1.2s, 0.1s, 1); //duration, delay, repeats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.animated-tweaker (@duration: 1.1s, @delay: 0.5s, @repeats: 1) { | |
-webkit-animation-duration: @duration; | |
-moz-animation-duration: @duration; | |
-ms-animation-duration: @duration; | |
-o-animation-duration: @duration; | |
animation-duration: @duration; | |
-webkit-animation-delay: @delay; | |
-moz-animation-delay: @delay; | |
-ms-animation-delay: @delay; | |
-o-animation-delay: @delay; | |
animation-delay: @delay; | |
-webkit-animation-iteration-count: @repeats; | |
-moz-animation-iteration-count: @repeats; | |
-ms-animation-iteration-count: @repeats; | |
-o-animation-iteration-count: @repeats; | |
animation-iteration-count: @repeats; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment