Skip to content

Instantly share code, notes, and snippets.

@stephenkeep
Forked from anonymous/Basic-GSAP-Tween.markdown
Last active August 29, 2015 14:20
Show Gist options
  • Save stephenkeep/88fbee2f80a0c4aa01e3 to your computer and use it in GitHub Desktop.
Save stephenkeep/88fbee2f80a0c4aa01e3 to your computer and use it in GitHub Desktop.
<div id="target"></div>
TweenLite.to('#target', 0.3, {
x: 320,
ease: Quad.easeInOut
});
html, body {
background: #f6f6f6;
height: 100%;
}
#target {
position: absolute;
width: 320px;
height: 1000px;
background: #b7d02e;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment