also called pinned horizontal scroll · sideways gallery
Changing the axis changes what the content means: a stack implies rank, a track implies comparison. Travel must be measured from real content — a track that barely overflows reads as a glitch, not a journey. Down becomes across. The section is exactly as tall as the strip is wider than the screen, measured from the cloth and not guessed, so the last stitch arrives as the scroll runs out. The strip is four overlapping photographs of the tapestry, joined where the embroidery in one carries on in the next.
How it is built
.run { height: calc(100svh + var(--travel)); view-timeline: --run } /* as much scroll as the cloth is long */
.frame { position: sticky; top: 0; container-type: inline-size } /* the view holds still… */
.track { animation: pan linear both; animation-timeline: --run;
animation-range: contain 0% contain 100% } /* …while the cloth moves */
@keyframes pan { to { translate: calc(100cqw - 100%) 0 } } /* until its end meets the frame's */
/* --travel: the strip's width at this height, less the screen's */In full, on GitHub index.html showcase.css
Tapestry — the Bayeux Tapestry, 11th century, Bayeux Museum; digitised by the Université de Caen Normandie, the CNRS and ENSICAEN from the 2017 photographic campaign of La Fabrique de patrimoines en Normandie; public domain, via Wikimedia Commons: scene 55, scene 56, scene 57, scene 58, joined end to end by build/register.py. Tituli, translations and facts — Bayeux Tapestry; Bayeux Tapestry tituli.