|
@@ -34,10 +34,14 @@
|
|
|
<h2>Fit Text</h2>
|
|
|
<p>Resizes text to be as large as possible within its container.</p>
|
|
|
<pre><code class="html" data-trim data-line-numbers>
|
|
|
- <h2 class="r-fit-text">FIT-TEXT</h2>
|
|
|
+ <h2 class="r-fit-text">FIT</h2>
|
|
|
</code></pre>
|
|
|
</section>
|
|
|
|
|
|
+ <section>
|
|
|
+ <h2 class="r-fit-text">FIT</h2>
|
|
|
+ </section>
|
|
|
+
|
|
|
<section>
|
|
|
<h2 class="r-fit-text">HELLO WORLD</h2>
|
|
|
<h2 class="r-fit-text">BOTH THESE TITLES USE FIT-TEXT</h2>
|
|
@@ -73,6 +77,12 @@
|
|
|
|
|
|
<section>
|
|
|
<h2>Stack Example</h2>
|
|
|
+ <div class="r-stack">
|
|
|
+ <p class="fragment fade-in-then-out">One</p>
|
|
|
+ <p class="fragment fade-in-then-out">Two</p>
|
|
|
+ <p class="fragment fade-in-then-out">Three</p>
|
|
|
+ <p class="fragment fade-in-then-out">Four</p>
|
|
|
+ </div>
|
|
|
<div class="r-stack">
|
|
|
<img src="https://placekitten.com/450/300" width="450" height="300" class="fragment">
|
|
|
<img src="https://placekitten.com/300/450" width="300" height="450" class="fragment">
|
|
@@ -82,11 +92,11 @@
|
|
|
|
|
|
<section>
|
|
|
<h2>Stack Example</h2>
|
|
|
- <p>One at a time.</p>
|
|
|
+ <p>fade-in-then-out fragments</p>
|
|
|
<div class="r-stack">
|
|
|
- <img src="https://placekitten.com/450/300" width="450" height="300" class="fragment fade-out" data-fragment-index="0">
|
|
|
- <img src="https://placekitten.com/300/450" width="300" height="450" class="fragment current-visible" data-fragment-index="0">
|
|
|
- <img src="https://placekitten.com/400/400" width="400" height="400" class="fragment">
|
|
|
+ <img src="https://placekitten.com/450/300" width="450" height="300" class="fragment fade-in-then-out">
|
|
|
+ <img src="https://placekitten.com/300/450" width="300" height="450" class="fragment fade-in-then-out">
|
|
|
+ <img src="https://placekitten.com/400/400" width="400" height="400" class="fragment fade-in-then-out">
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
@@ -111,6 +121,27 @@
|
|
|
</div>
|
|
|
</section>
|
|
|
|
|
|
+ <section id="vstack">
|
|
|
+ <h2>VStack</h2>
|
|
|
+ <p>Stacks multiple elements horizontally.</p>
|
|
|
+ <pre><code class="html" data-trim data-line-numbers>
|
|
|
+ <div class="r-vstack">
|
|
|
+ <img width="450" height="300" src="...">
|
|
|
+ <img width="300" height="450" src="...">
|
|
|
+ <img width="400" height="400" src="...">
|
|
|
+ </div>
|
|
|
+ </code></pre>
|
|
|
+ </section>
|
|
|
+
|
|
|
+ <section data-auto-animate>
|
|
|
+ <h2>VStack Example</h2>
|
|
|
+ <div class="r-vstack">
|
|
|
+ <p style="padding: 0.50em; background: #eee; margin: 0.25em">One</p>
|
|
|
+ <p style="padding: 0.75em; background: #eee; margin: 0.25em">Two</p>
|
|
|
+ <p style="padding: 1.00em; background: #eee; margin: 0.25em">Three</p>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
</div>
|