Component · Scroll animations

Fade in on scroll route for a night race

by Informeek Studio 11 November 2026
Live Scroll inside the preview through the race

The prompt

Build a route page for Midsummer Ultra, a fictional 60 km night fell race, where each checkpoint fades in from a soft blur on scroll and the sky changes with the hours. Use a full screen scroll container over a fixed gradient that follows scroll progress through five keys: dusk #2c2147 to #a6526b, late evening, deep night #070a1e, blue hour and dawn #3a2f5c to #e0876a. Add 90 box shadow stars that fade in for the night and out at dawn. Text is lavender white #f4ecff with gold #ffcf7a accents. Header: brand line, a dashed "Your bib 214, wave B" tag and the serif headline "Start at sunset, finish with the sunrise". Then a dashed route line with six stops (21:30 start to 05:10 finish), each a time, a glowing gold node and a glass card with a 160 by 100 SVG view drawn for that hour (start arch, stone hut, head torches on a ridge, sunrise finish), a title, a note and a small uppercase km tag. When a stop is 90px into the screen, run a 1100ms ease out cubic: opacity 0 to 1, blur 14px to 0, a 28px rise and a feathered mask wiping down from the top; stagger stops by 140ms and reset them when they leave below. End with a pale "Entry £68" card. Reduced motion shows every stop and keeps the sky.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by swapping in your own stops and drawing the view at each one.

About this fade in on scroll effect

A fade in on scroll is the quietest way to bring content into a page, and quiet suits a race through the dark. Each checkpoint on this route arrives as if out of mist: it starts invisible and blurred, rises a little, and clears from the top down behind a feathered edge, so the drawn view sharpens a moment before the words below it.

The page carries a second, slower change. The sky behind the route follows how far you have read, from a purple dusk at the start line through a starry night on the high ridge to a peach sunrise at the finish, and the stars come out and fade again on the way. Every view is drawn for its hour, from a line of head torches on the ridge to breakfast under the finish arch, so the story holds even with the animation turned off.

Why the prompt works

  • It gives the full fade recipe, opacity, a 14 pixel blur, a 28 pixel rise and a mask wipe over 1100 milliseconds.
  • It sets the trigger point, 90 pixels into the screen, so stops never fade in while hidden.
  • It lists the sky colours as five keys tied to scroll progress.
  • It keeps reduced motion meaningful, with the sky still changing and every stop visible.

Where to use it

Race and event routes, schedules, case study timelines and long reads where calm matters more than drama.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Scroll animations

Scroll text animation with floating letters

Live
Component · Scroll animations

Scroll reveal manifesto that lights up as you read

Live
Component · Scroll animations

Text marquee that speeds up with scroll