# 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.

:::scroll{#demo film="./scroll.film.json" height=4}

::::step{at=0 #step-open}

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

::::

::::step{at=0.25 #step-chapter}

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

::::

::::step{at=0.5 #step-points}

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

::::

::::step{at=0.75 #step-close}

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](https://docs.recit.dev/documentation/integrations/site-stories#scroll-stage-in-site-pages).
