diff options
| author | user <user@clank> | 2026-08-30 19:20:21 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-08-30 19:20:21 +0200 |
| commit | 37e1cdd6e0ad528b3f1c2efe366dc1d7f4ca8f17 (patch) | |
| tree | 601b1cdfae5f5130e9b2ea25f916e5d927b18441 /docs | |
| parent | web: a step's title is a road to the step (diff) | |
| download | slosh-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
