aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-30 19:20:21 +0200
committeruser <user@clank>2026-08-30 19:20:21 +0200
commit37e1cdd6e0ad528b3f1c2efe366dc1d7f4ca8f17 (patch)
tree601b1cdfae5f5130e9b2ea25f916e5d927b18441 /docs
parentweb: a step's title is a road to the step (diff)
downloadslosh-37e1cdd6e0ad528b3f1c2efe366dc1d7f4ca8f17.tar.gz
slosh-37e1cdd6e0ad528b3f1c2efe366dc1d7f4ca8f17.tar.xz
slosh-37e1cdd6e0ad528b3f1c2efe366dc1d7f4ca8f17.zip
web: the tour magnets, politely
scroll-snap-type: y proximity on the root, snap-align: center on the steps and nothing else: a scroll that ends near a step is settled onto its centre -- the exact spot the tour activates it, so the rest position and the lit step agree -- and momentum, half-reads and every snapless section are left alone, by spec. Proximity, never mandatory: the mandatory kind on a page that also has prose is a trap, and the JS kind is worse. Off in the one-column layout, where the sticky stage covers the upper viewport and a centred step would sit half beneath it.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions