easing option for auto-animate

This commit is contained in:
Hakim El Hattab
2020-02-01 19:11:52 +01:00
parent a3cd500154
commit b6c890b1a7
4 changed files with 74 additions and 24 deletions

View File

@ -19,10 +19,17 @@
<div class="slides">
<section data-auto-animate>
<h3 data-id="opacity-test">Opacity 1.0</h2>
<h3 data-id="opacity-test">Opacity 1.0</h3>
</section>
<section data-auto-animate data-auto-animate-duration="0.3">
<h3 data-id="opacity-test" style="opacity: 0.2; margin-top: 200px;">Opacity 0.2</h3>
</section>
<section data-auto-animate>
<h3 data-id="text-props" style="background: #555;">Text props</h3>
</section>
<section data-auto-animate>
<h3 data-id="opacity-test" style="opacity: 0.2; margin-top: 200px;">Opacity 0.2</h2>
<h3 data-id="text-props" style="background: #555; line-height: 3em; letter-spacing: 0.2em;">Text props</h3>
</section>
<section data-auto-animate style="height: 600px">