Created
September 25, 2016 07:23
-
-
Save alexvas123/3a095547b309757cf876fac629928317 to your computer and use it in GitHub Desktop.
Vivus SVG animation
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
// Vivus SVG animation | |
// Initial CSS: display: none | |
var details = { | |
type: "delayed", | |
duration: 200, | |
animTimingFunction: Vivus.EASE | |
}; | |
new Vivus("band1", details, function () { | |
$(".band1").addClass("zoomInDown").css("display", "block"); | |
}); | |
new Vivus("band2", details, function () { | |
$(".band2").addClass("rotateInDownLeft").css("display", "block"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment