Skip to content

Instantly share code, notes, and snippets.

@lilaL
lilaL / replace_fragments
Created July 20, 2015 11:08
Replacing fragments in reveal.js
<section>
<div style="position:relative" >
<p class="fragment fade-in" style="position:absolute; margin-left: auto; margin-right: auto; left: 0; right: 0;" data-fragment-index="0">
TWO
</p>
<p class="fragment fade-out" style="position:absolute; margin-left: auto; margin-right: auto; left: 0; right: 0;" data-fragment-index="0">
ONE
</p>
</div>
</section>