Small rules for what the other layouts do not cover.
Styles: layout.css.
This line stops at 20rem, as wide as it reads well.
Counts as
part of the row
in the row
Scrolls both ways.
Second line.
Third line.
Fourth line.
Fifth line.
Sixth line.
Seventh line.
Code
<div class="moin-stack" data-gap="4">
<p class="moin-narrow moin-text" style="--width:20rem">This line stops at 20rem, as wide as it reads well.</p>
<div class="moin-hide-empty"></div>
<div class="moin-row" data-gap="2">
<div id="demo-places" class="moin-contents">
<span class="moin-badge">Counts as</span>
<span class="moin-badge">part of the row</span>
</div>
<span class="moin-badge">in the row</span>
</div>
<div class="moin-scroll" data-both style="--scroll-max:6rem">
<div class="moin-text moin-stack" data-gap="1">
<span>Scrolls both ways.</span>
<span>Second line.</span>
<span>Third line.</span>
<span>Fourth line.</span>
<span>Fifth line.</span>
<span>Sixth line.</span>
<span>Seventh line.</span>
</div>
</div>
</div>moin-narrowis as wide as text reads well, or--width. On amoin-pageit stays centered.moin-hide-emptytakes no room while it is empty. Use it for a place an answer swaps into.moin-contentsholds only an id. What is in it counts as being in its place in a row or grid.moin-scrollscrolls sideways.data-bothscrolls both ways, up to--scroll-maxhigh. What stays in view inside needs this box.
Jumping to a place
A link to #something stops under a floating bar, for anything with an id. Nothing to add. --jump on the target changes the distance, 6rem by default.