Skip to content

Scroll

Scroll in Récit is a motion film whose time is the reader's position in the page: a :::scroll block places steps along the page and advances the film frame for frame as you scroll.

  1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

  2. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

  3. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

  4. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Under prefers-reduced-motion: reduce and on narrow phone screens, the sticky stage steps aside and each step pairs the settled still frame of its scene with its text in a single list of steps. When printed, the sticky stage and progress bar hide so every step prints on its own page with its still frame. For the syntax and attributes of :::scroll, see Stories in a site.