I would like to create a dynamic phrase like doyouimpress.com
The code I use for HTML is: Source
<section class="rw-wrapper">
<h1 class="rw-sentence">
Phrase one
<div class="rw-words rw-words-1">
<span>Word 1</span>
<span>Word 2</span>
<span>Word 3</span>
</div>
</h1>
</section>
<h2 class="rw-sentence-IE">Phrase for internet explorer</h2>
The code I use for CSS is: (I have errors when pasting the CSS here, please see Source.)
With this code the words automatically change but the phrase does not change position when the words are long or short.
What I do wrong and how can I get a similar effect to: doyouimpress.com