Skip to content

Commit

Permalink
feat: flexbox example, fix #61
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jul 6, 2021
1 parent 5428d60 commit 64655f9
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@
margin-top: 2em;
}

.gallery {
display: flex;
flex-wrap: wrap;
}

.gallery > div {
flex-grow: 1;
margin: 0 .25rem .5rem;
width: 30%;
}

/* Example: Lazy Lightense */
.lightense-lazy {
filter: blur(16px);
Expand Down Expand Up @@ -95,7 +106,7 @@ <h2>General Usage</h2>
/>
</p>

<h2>General Usage</h2>
<h2>Custom Background</h2>

<p>
<img
Expand Down Expand Up @@ -141,6 +152,14 @@ <h2>Custom Thumbnail Preview</h2>
/>
</p>

<h2>Flexbox Gallery</h2>

<div class="gallery">
<div><img src="https://d349cztnlupsuf.cloudfront.net/girls_dead_monster_logo.png" /></div>
<div><img src="https://d349cztnlupsuf.cloudfront.net/girls_dead_monster_logo.png" /></div>
<div><img src="https://d349cztnlupsuf.cloudfront.net/girls_dead_monster_logo.png" /></div>
</div>

<h2>Event Hooks</h2>

<p>
Expand Down

0 comments on commit 64655f9

Please sign in to comment.