initial work for hstack and vstack
This commit is contained in:
@ -24,6 +24,8 @@
|
||||
<ul>
|
||||
<li><a href="#/stretch">Stretch</a></li>
|
||||
<li><a href="#/stack">Stack</a></li>
|
||||
<li><a href="#/hstack">HStack</a></li>
|
||||
<li><a href="#/vstack">VStack</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
@ -74,6 +76,27 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="hstack">
|
||||
<h2>HStack</h2>
|
||||
<p>Stacks multiple elements horizontally.</p>
|
||||
<pre><code class="html" data-trim data-line-numbers>
|
||||
<div class="r-hstack">
|
||||
<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>HStack Example</h2>
|
||||
<div class="r-hstack">
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user