2020-05-11 10:54:02 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
|
|
<title>reveal.js - Layout Helpers</title>
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../dist/reveal.css">
|
|
|
|
<link rel="stylesheet" href="../dist/theme/white.css" id="theme">
|
2020-05-19 11:02:59 +02:00
|
|
|
<link rel="stylesheet" href="../plugin/highlight/monokai.css">
|
2020-05-11 10:54:02 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="reveal">
|
|
|
|
|
|
|
|
<div class="slides">
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2>Layout Helper Examples</h2>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#/stretch">Stretch</a></li>
|
|
|
|
<li><a href="#/stack">Stack</a></li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="stretch">
|
|
|
|
<h2>Stretch</h2>
|
|
|
|
<p>Makes an element as tall as possible while remaining within the slide bounds.</p>
|
|
|
|
<pre><code class="html" data-trim data-line-numbers>
|
|
|
|
<h2>Stretch Example</h2>
|
|
|
|
<img src="assets/image2.png" class="r-stretch">
|
|
|
|
<p>Image byline</p>
|
|
|
|
</code></pre>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2>Stretch Example</h2>
|
|
|
|
<img src="assets/image2.png" class="r-stretch">
|
|
|
|
<p>Image byline</p>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="stack">
|
|
|
|
<h2>Stack</h2>
|
|
|
|
<p>Stacks multiple elements on top of each other, for use with fragments.</p>
|
|
|
|
<pre><code class="html" data-trim data-line-numbers>
|
|
|
|
<div class="r-stack">
|
2020-05-11 11:57:09 +02:00
|
|
|
<img class="fragment" width="450" height="300" src="...">
|
|
|
|
<img class="fragment" width="300" height="450" src="...">
|
|
|
|
<img class="fragment" width="400" height="400" src="...">
|
2020-05-11 10:54:02 +02:00
|
|
|
</div>
|
|
|
|
</code></pre>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2>Stack Example</h2>
|
|
|
|
<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">
|
|
|
|
<img src="https://placekitten.com/400/400" width="400" height="400" class="fragment">
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h2>Stack Example</h2>
|
|
|
|
<p>One at a time.</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">
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="../dist/reveal.js"></script>
|
2020-05-18 14:41:56 +02:00
|
|
|
<script src="../plugin/highlight/highlight.js"></script>
|
2020-05-11 10:54:02 +02:00
|
|
|
<script>
|
|
|
|
Reveal.initialize({
|
|
|
|
center: true,
|
|
|
|
hash: true,
|
|
|
|
plugins: [ RevealHighlight ]
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|