JSFiddle - React, Tailwind, and code Playground

by geekambassador

HTML

<script src="http://www.greensock.com/js/src/TweenMax.min.js"></script>
<div id="test">this is some text</div>

CSS

#test{
position:absolute;
    font-size:24px;
    font-family:Arial, Helvetica, Verdana;
    font-weight:100;
}

JavaScript

var test = $("#test");

var tl = new TimelineMax({repeat:10, yoyo:true});

tl.to(test, .5, {css:{left:100}})
    .set(test, {css:{fontWeight:800}})
    .to(test, .5, {css:{left:200}}, .2);