Last active
December 16, 2015 16:39
-
-
Save aaronsbrown/5464274 to your computer and use it in GitHub Desktop.
This file contains 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
<script src="js/TweenLite.min.js"></script> | |
<script src="js/jquery.gsap.min.js"></script> | |
// In the simplest cases, you can just pass a CSS selector string to GSAP. | |
// So instead of: | |
Timeline.to($(".class1 p"), 1, {left: "-20px"}); | |
// You can simply write: | |
Timeline.to(".class1 p", 1, {left: "-20px"}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment