Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -374,13 +374,13 @@ <h3>Stacking</h3>
The panel has a translucent background, so when stacking multiple
panels the background changes slightly with each level.
</p>
<div class="panel" style="margin: var(--spacing)">
<div class="panel">
<header></header>
<article>
<div class="panel" style="margin: var(--spacing)">
<div class="panel">
<header></header>
<article>
<div class="panel" style="margin: var(--spacing)">
<div class="panel">
<header></header>
<article>Content</article>
<footer></footer>
Expand All @@ -397,31 +397,35 @@ <h3>Stacking</h3>
<div class="panel">
<header><h2 id="tile">Tile</h2></header>
<article
style="display: grid; grid-auto-flow: column; gap: var(--spacing)"
style="
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
gap: var(--spacing);
"
>
<div class="tile">
<header></header>
<article>Tile</article>
<article>Tile Content</article>
<footer></footer>
</div>
<div class="tile shade1">
<header></header>
<article>Tile</article>
<article>Tile Content</article>
<footer></footer>
</div>
<div class="tile shade2">
<header></header>
<article>Tile</article>
<article>Tile Content</article>
<footer></footer>
</div>
<div class="tile shade3">
<header></header>
<article>Tile</article>
<article>Tile Content</article>
<footer></footer>
</div>
<div class="tile warn">
<header></header>
<article>Tile</article>
<article>Tile Content</article>
<footer></footer>
</div>
</article>
Expand Down