aboutsummaryrefslogtreecommitdiff
path: root/demo.html
diff options
context:
space:
mode:
Diffstat (limited to 'demo.html')
-rw-r--r--demo.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/demo.html b/demo.html
index 8e26da8..3abefdf 100644
--- a/demo.html
+++ b/demo.html
@@ -137,6 +137,32 @@
</p>
</section>
+ <section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
+ <h2>Auto-Animate</h2>
+ <p>Automatically animate matching elements across slides with <a href="https://revealjs.netlify.app/auto-animate/">Auto-Animate</a>.</p>
+ <div class="r-hstack justify-center">
+ <div data-id="box1" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
+ <div data-id="box2" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
+ <div data-id="box3" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
+ </div>
+ </section>
+ <section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
+ <div class="r-hstack justify-center">
+ <div data-id="box1" data-auto-animate-delay="0" style="background: cyan; width: 150px; height: 100px; margin: 10px;"></div>
+ <div data-id="box2" data-auto-animate-delay="0.1" style="background: magenta; width: 150px; height: 100px; margin: 10px;"></div>
+ <div data-id="box3" data-auto-animate-delay="0.2" style="background: yellow; width: 150px; height: 100px; margin: 10px;"></div>
+ </div>
+ <h2 style="margin-top: 20px;">Auto-Animate</h2>
+ </section>
+ <section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
+ <div class="r-stack">
+ <div data-id="box1" style="background: cyan; width: 300px; height: 300px; border-radius: 200px;"></div>
+ <div data-id="box2" style="background: magenta; width: 200px; height: 200px; border-radius: 200px;"></div>
+ <div data-id="box3" style="background: yellow; width: 100px; height: 100px; border-radius: 200px;"></div>
+ </div>
+ <h2 style="margin-top: 20px;">Auto-Animate</h2>
+ </section>
+
<section>
<h2>Touch Optimized</h2>
<p>