Skip to content

Instantly share code, notes, and snippets.

View lsaul's full-sized avatar
:electron:

Lloyd S. lsaul

:electron:
View GitHub Profile
@lsaul
lsaul / index.html
Created May 16, 2013 20:55
A CodePen by GreenSock. Machine Gun Text Effect w/ GSAP JS - Check out this enhanced version that intelligently groups words together: http://codepen.io/GreenSock/pen/sxdfe
<link href='http://fonts.googleapis.com/css?family=Asap:400,700' rel='stylesheet' type='text/css'>
<div id="demo"></div>
<h2>special features</h2>
<ul>
<li>Duration of each word's animation is based on character count giving you more time to read longer words</li>
<li>Last word in sentence stays on screen longer</li>
<li>Pause added after each sentence</li>
</ul>