CSS scroll animation templates
CSS scroll-driven animations tie a CSS animation to scrolling instead of the clock: with animation-timeline: view() an element's keyframes advance as it crosses the screen, and with scroll() as a scroll container moves. All 106 free templates in the catalog run every scroll scene that way, one HTML file each, with a short inline script for measuring and smooth wheel scrolling and no JavaScript library.
Each page here comes in two builds, and this one gives the visitor the same motion as the GSAP build with less code: a held stage whose panels run sideways, piles of photos dealt into a grid, a first screen that breaks apart as you leave it. No script comes from a CDN. The streetwear shop page, the lightest of the set, downloads 19 KB of code gzipped, where its GSAP version needs 66 KB and three more requests.
If you came looking for CSS scroll animations you can open, edit and ship, these are whole sites rather than snippets: nine to thirteen sections, a phone menu, a contact or booking form on most of them, a full layout that still reads when nothing moves. Every one works as a scroll animation website template for a real business type. That holds for the whole catalog, and every template still keeps a second file with the same motion on GSAP, ScrollTrigger and Lenis; the catalog's page on scroll motion covers both builds.
At a glance, November 2026. This page holds all 106 of the catalog's templates, free under the MIT license and made by 8B, an AI website builder. Grouped by gzipped code: 22 need 19 to 25 KB (among them the streetwear shop, the Pilates studio, the graphic design studio and the brasserie), 52 need 26 to 29 KB, 21 need 30 to 33 KB, and 11 need 34 to 53 KB (the coworking space, the Korean grill, the coding school and the captioning app among them). Their GSAP builds need 66 to 98 KB and three to five more requests. Each page has 9 to 13 sections.
Short film festival, 24 KB gzipped. A film still shows only through the letters of the title, then spreads from the word to the full screen as you keep scrolling.
Water park or leisure pool, 27 KB gzipped. The huge orange wordmark shrinks onto the header's logo tab, four ride sheets stack on each other, and pool-blue water rises through a lowercase heading.
Self storage facility, 28 KB gzipped. A pinned block turns to show four unit faces, then opens out flat into a row of sizes, and later nine services spin past on a drum and unroll into a list.
Midwife-led birth center, 29 KB gzipped. The opening board widens into a full-bleed field, room bands unfold from their title strips, and a dial fills as each phase of labour passes.
Graphic design studio with a risograph room, 23 KB gzipped. The view dives through the counter of a giant extruded word into the studio photo, then five print jobs pass in a pinned sideways row.
Burger bar, 38 KB gzipped. A held smash photo flattens from a tall squeeze into a strip, and a black band holds mid screen so each house rule reads lime on black as it passes.
Hand car wash, 24 KB gzipped. Each wash step's photo rises over the last behind a scalloped edge in a sticky window, and a yellow disc grows until it fills the membership section.
Podiatry clinic, 39 KB gzipped. The runner photo is cut into nine strips that slide into one picture over a held screen, and each quote fills from faint to full ink word by word.
Group fitness studio, 29 KB gzipped. On a held curve an orange dot rides a lime line as four class phases light up, and timetable rows light up when they reach mid screen.
Language school for adults, 30 KB gzipped. The torn cap of a portrait lifts away and eight greeting bubbles burst out of its mouth, settling around the opening statement.
Tile maker and ceramics studio, 33 KB gzipped. The first scroll gathers a field of two hundred tiles into a giant frame; further down a floor flips, a puzzle slides and squares nest inside each other.
Fashion label with a few stores, 27 KB gzipped. A portrait panel slides down through the giant title like a lens, outlining each letter it crosses, and lands on a stack of photos.
Car detailing studio, 29 KB gzipped. Photo tiles fly in and lock into one frame as you scroll, then a haze is swept off the picture behind a thin line.
Boutique hotel or guesthouse, 26 KB gzipped. A held room stage wipes from one room to the next, three in all, while the row of room names slides along and lights the current one.
Sauna and bathing house, 27 KB gzipped. Over a dark photo a copper glow climbs through five statement lines, and each line thickens from a light to a semibold weight, starting at the bottom.
Cheese shop, 29 KB gzipped. The first scroll floods the page black from the bottom left, a sticky square frame turns a quarter per cellar step, and seven farm panels slide sideways.
Glamping cabins, 34 KB gzipped. The first screen holds while its window widens to full bleed, then four ridge windows each open from a horizon slit over about three held screens.
Pottery studio, 27 KB gzipped. The first screen holds while its photo opens in four strips along the grid lines, six process steps slide sideways, and the ground blends into each glaze's colours.
Perfumery by appointment, 28 KB gzipped. The held first screen parts its heading under a rising ink dome, then a rose photo shrinks into the middle slot while five tiles fly in and turn as they land.
Hardware store, 28 KB gzipped. A cloud of product tiles rushes past as the heading shrinks away, then photo panels wipe up over each other on a stage held for about four screens.
Neighbourhood pizzeria, 26 KB gzipped. Leaving the first screen tips the pill photo over as a round window opens onto hands reaching for slices; a held dough sequence wipes in each next photo.
Mortgage broker, 27 KB gzipped. In the market section every line but the bank's grows from a fifth of its height and warms to ember, and a held track of four switch panels runs sideways as the ground turns amber.
Independent cinema, 26 KB gzipped. A held projector gate steps through four frames with a shutter flash and jumping sprockets, and six note tiles are dealt out of a tilted pile into the grid.
Outdoor pool and lido, 33 KB gzipped. On wide screens each lane's round photo swims across a held section at its own pace, and later a photo travels through a giant word, lifting each letter.
Volunteering network, 27 KB gzipped. Six folders stand as a drawer held for about three screens, each step slipping the front one to the back, and a Saturday of six timed frames runs sideways.
Ice cream parlour, 28 KB gzipped. Five flavour cards hold in one pile for about three screens as each next card slides up with a tilt, and two review ribbons uncross as they run.
Bespoke tailor, 30 KB gzipped. Six cloth swatches fly in tilted and open into tall pills, then four fitting steps form a held sideways track while a progress line lights four sparkles.
Farm veg box delivery, 26 KB gzipped. The box list swings flat from a 60 degree tilt, grower cards stack, and a held track of five delivery steps runs sideways as the ground darkens from lime.
Tile shop and showroom, 26 KB gzipped. On a held wall four rows of cells slide from stack bond to half and third bond, and later four room photos trade the large cell in turn.
Bowling alley, 24 KB gzipped. Leaderboard rows slide past each other from playing order into rank order, and a sticky round stage rolls fries, a shake and a cocktail over the burger photo.
Part-time coding school, 42 KB gzipped. Old jobs are struck through as new ones wipe in, then on a held stage five module panels slide sideways while 24 week squares fill in order.
Cookery school, 24 KB gzipped. Each course row wipes its photo up over the last in a sticky frame as its code turns cobalt, and a held notebook of four notes slides left.
Coffee roastery with a counter, 23 KB gzipped. A round frame beside the bean list turns one full circle as each coffee opens inside it, and ring stamps press onto the roast day ticket.
Arcade bar, 25 KB gzipped. Four photo cards stick and shrink under each other on the first screen, the champion row climbs the league board into rank order, and six menu cards run sideways.
Bike hire, 25 KB gzipped. A held fleet stage wipes in each bike from the right while a marker slides along their names, then four ride panels run sideways as a lime line fills.
Print and copy shop, 27 KB gzipped. On a held stage a poster wall grows through seven sizes from A6 to A0 with handles at its corners, and four finishing panels unfold from a zig-zag.
Board game cafe, 26 KB gzipped. On a held stage seven day tiles start shuffled around an empty cell and slide into order until the gap becomes the booking cell; shelf cards swing a quarter turn into place.
Nail salon, 27 KB gzipped. Six finish cards run sideways past a clear window between two frosted bands on a held stage, and a ring turns one and a half times as the care notes pass.
Stonemason, 28 KB gzipped. Trade panels stick and stack, each covered card shrinking and darkening, and as four steps are read a photo frame goes from a rough outline to the full block.
Stationery shop, 26 KB gzipped. Each shelf row's photo wipes up over the last on a sticky plate, arrival cards straighten from a tilt, and three club tiers unfold from their top edge.
Language school, 23 KB gzipped. Eight language panels slide sideways on a held stage, five level bars grow in turn, and six shapes drop and bounce onto a rocking half-disc.
Toy store, 34 KB gzipped. A held stage slides a scrambled puzzle board back in 12 moves, five squad cards are dealt from a fanned stack, and an orange ball follows a ribbon to each workshop.
Landscaping firm, 28 KB gzipped. A held board of four photo beds shifts its seams so each bed takes the largest share in turn, and four season panels travel sideways as the ground changes colour.
Electrician, 24 KB gzipped. Each room photo opens over the last from its top-right corner, checklist rows draw their lines and switch from Due to Passed, and four portraits are dealt from a tilted pile.
Bubble tea shop, 25 KB gzipped. Cups fly in from alternating edges, colour cards stick and stack, a blue band is pulled down like a blind, and four drop cards slide sideways as the ground changes colour.
Comedy club, 31 KB gzipped. A black fill grows out of each day disc across its row at mid screen, a brush stroke strikes through old rules, and six bar cards slide sideways on a held stage.
Electric scooter maker, 30 KB gzipped. The model card slides out of the photo frame's notch over two held screens, then four paint fields run sideways as a track while each giant name drifts a little faster.
Family history research, 28 KB gzipped. An ink thread draws from slip to slip as each tilted slip straightens, and a held family chart pulls back from the client while each generation's lines draw.
Dance studio, 29 KB gzipped. A red dot walks a hand-drawn path and fills each step number as it arrives, and on a held stage the showcase row slides sideways while its photos bob in alternate beats.
Boat trips from a pier, 27 KB gzipped. Five place cards ride a held sideways wave that tilts them away from the middle, and a deck of four comment cards is flung aside one per step.
Planetarium, 25 KB gzipped. A small circle of star trails turns level and opens to fill the screen over about 1.3 held screens, and five stops slide sideways while a glowing runner travels the progress line.
Driving school for first-time and nervous learners, 26 KB gzipped. The walls of a tunnel built from colour and photo cells glide toward the visitor as the page scrolls past the cars.
Streetwear and sneaker shop, the lightest at 19 KB gzipped. The lookbook section holds while its row of priced looks travels sideways, each photo drifting a little inside its frame.
Volunteer youth football club, 26 KB gzipped. A deck of squad cards is dealt out, a pinned week of seven days slides sideways, and a black field sweeps across each promise line.
Outdoor kit hire shop, 28 KB gzipped. Four pack cards fly from one tilted pile to their places in the grid as it rises, so the packs arrive in order as you scroll.
Smart-home installation firm, 31 KB gzipped. Four colour layers regrade one living-room photo from cool morning to night while a marker steps down the four times of day.
Museum with free halls and a main exhibition, 29 KB gzipped. The halls run sideways on a stage that holds still, and the exhibition plate slides three colour layers into register.
Garden wedding planner, 30 KB gzipped. The page holds while four season fields pass sideways, one for each time of year, and ten planning tasks fly into a list as you reach them.
Day nursery, 25 KB gzipped. Six craft photos gather in a pile in the middle of the table and roll out into the grid, and bowls roll onto the lunch slab.
Lighting shop and showroom, 25 KB gzipped. The rooms section pins and runs through six room columns sideways, and each photo brightens from dim grey to full colour on the way.
Mountain trail race, 29 KB gzipped. On a held stage five course tiles slide sideways and rise to their altitude, so the row climbs to the ridge, while orange light crosses each photo.
Pharmacy, 24 KB gzipped. A black seal bar runs down the week grid of pill pockets once, a white marker steps down four conditions as photos wipe down, and five delivery stops slide sideways on a held stage.
Goldsmith remaking old gold, 28 KB gzipped. Five frames travel sideways as one strand riding a curve, upright in the middle and tilted at the edges, and story cards stack with staggered offsets.
Children's speech therapy, 28 KB gzipped. Visit step cards rise over each other for about three held screens, and on wide screens a held chat adds its messages one by one.
IT support company, 35 KB gzipped. On wide screens a held grid zooms out from one office photo to all five, and the security rows slide down off a stack as the panel's clipped corner closes.
Small group tour operator, 25 KB gzipped. A wide landscape closes down into a train window, a marker runs along a rail past three stops, and four tickets are dealt out of a pile.
Art gallery with night hours, 27 KB gzipped. A coral lamp moves through four rooms as you scroll, lifting a dark veil off each one in turn.
Weekly-message app for small businesses, 26 KB gzipped. The first screen pins while 18 signal chips glide from a scatter into a list and the Monday note card grows out of a dot.
Marketing agency with a yearly research report, 29 KB gzipped. A large paper-cut arrow swings to a new bearing each time one of the six signals reaches the middle of the screen.
Interior colour studio, 33 KB gzipped. Paint cards stack into a deck, a patch of sunlight crosses a painted wall, and a lamp switches on when the wall turns to night.
Model scouting agency with a weekly open call, 26 KB gzipped. Nine test frames are dealt from a pile into a contact sheet, then a yellow square draws itself round frame 07.
Motion design studio, 29 KB gzipped. The method section holds while four steps slide under an orange playhead, each one lighting up as it passes the line.
Online music school, 30 KB gzipped. Five program cards are dealt from a pile, and in the covers shop a big disc shows a new cover for each tracklist row you scroll past.
Neighbourhood bakery and coffee counter, 32 KB gzipped. A midnight section turns sunflower yellow while a sun disc climbs beside four timed cards that start at 4 am.
Emotional fitness studio or coach, 26 KB gzipped. While the section is pinned, a wall of 24 feeling words flips in a diagonal wave from fine to a more precise word.
Design-and-build renovation company, 30 KB gzipped. A camera moves across a four-photo contact sheet step by step, and six rooms slide together into one floor plan.
Electric moped maker or dealer, 30 KB gzipped. As you scroll, each next model photo grows out of a stack of thumbnails, and further down a red rider follows a drawn route over a street map.
Podcast network or audio collective, 31 KB gzipped. The row of shows pins and travels sideways, each tile trailing three colour copies that fold back into it when scrolling stops.
Roller rink, 24 KB gzipped. The session list straightens from a tilt, the rink's years slide sideways, and record sleeves flip over like a crate being browsed.
Hair salon or colour studio, 29 KB gzipped. Six shade strips fan out of one grey stack, and a single word that fills the whole screen shrinks back to size as you scroll.
Streetwear and print-on-fabric label, 25 KB gzipped. The stage holds while a hoodie photo zooms to four numbered details in turn, each circled by a marker line that draws itself.
Fitness training app, 25 KB gzipped. A drawn phone stays in view while its screen wipes from today's session to a recovery ring and then to a chat with the coach.
Korean charcoal grill restaurant, 45 KB gzipped. Quote words burn from ash grey through red to ink with the scroll, and on a held stage four years slide left while a red rule fills.
Reformer Pilates studio, 22 KB gzipped. A coral carriage travels down four rails with the scroll, and on a held stage six class blocks run sideways under a minute rail filling from 0 to 50.
Commercial law firm, 27 KB gzipped. Four full-screen practice panels stack one over the next, and in each a small red block splits into its own geometric figure behind a grey photo.
Plumber, 27 KB gzipped. The first screen holds while the photo band widens to the edges and the headline lines slide out to both sides, then service photos open from a slit at mid screen.
Launch page for a smart-home remote, 30 KB of code gzipped. Scrolling sinks the drawn panel while its keys press one by one, and on a held stage the pad presses each direction as room photos wipe in.
Landing page for a call captioning app, 35 KB gzipped. Spoken lines drawn as bars slide into a panel and turn into caption bubbles, and on a held stage five places pass sideways under two drawn curves.
Creative agency site, 26 KB gzipped. Leaving the first screen splits the wordmark, its letters sliding off both sides with long black streaks; further down, plates fan out behind each project photo and fold flat.
Design studio page, 31 KB gzipped. The round photo travels down into the next heading's violet dot, case cards run sideways and bend onto a curve, and service cards stick and stack.
Women's community club, 32 KB gzipped. An oxblood arch swells into a full-width dome as you leave the first screen, and on a held board twelve tilted tiles deal out of one pile into a collage.
Cat boarding house, 27 KB gzipped. A black hill swallows the first screen, then a held day track slides six timed panels sideways while a black sun crosses a sky that changes colour.
Music festival page, 41 KB gzipped. A crimson veil closes into nine round windows, and in the held battle split screen the VS line sweeps to each side as the crews' names grow.
Print studio with a price calculator, 26 KB gzipped. Four pink drums roll down onto a panel and print it band by band; later a drum rolls beside the workshop list, filling each date.
Architecture office, 27 KB gzipped. Street photos start as streaks of stretched colour and squeeze into focus, a held row passes five buildings sideways, and a red scan line crosses the method photo.
Fitness club, 27 KB gzipped. Cover lines streak off sideways while the photo zooms, tiles are dealt from a tilted pile, and seven day cards run sideways on a held stage as a progress line fills.
Phone and laptop repair shop, 29 KB gzipped. On tall desktop screens a blue band steps down twelve diagnosis checks, the refurbished shelf runs sideways, and a blue cursor sweeps the pickup timetable.
Small accountancy practice, 30 KB gzipped. Service photos resolve from coarse dots as colour slabs stack on large screens, and twelve months slide past a fixed orange line, filling each deadline chip.
Accounting firm, 26 KB gzipped. On a held stage a sphere of 28 client cards rises and turns almost a full circle, and a red marker crosses the month's ruler, turning each task black.
Brasserie or bistro, 24 KB gzipped. A blurred parasol shadow slides across the hero dish, and five services run sideways as the ground darkens from near-white to night.
Craft brewery and taproom, 30 KB gzipped. On desktop five beer cards step down a staircase, each filling with colour like a poured glass, and a dashed wheel turns one brew step at a time.
Coworking space, the heaviest at 53 KB gzipped. Contour bands swell around the core until deep blue fills the screen, and posters lower on their wires and swing as their bands appear.
Trampoline park, 39 KB gzipped. A jumper lands on the red panel's wavy edge, which sags and flings them off spinning, and a red ball hops along a dashed route between party photos.
Veterinary clinic, 30 KB gzipped. A small coral arch grows into a full-width doorway as you scroll, and four colour panels are dealt out of a tilted stack into an overlapping row.
What CSS scroll-driven animations are and what they replace
A CSS animation normally runs on the document clock: it starts, lasts so many seconds and ends. A scroll-driven animation swaps that clock for a scroll position, and two kinds of timeline exist. scroll() follows the progress of a scroll container or the whole page from top to bottom, which suits a reading bar. view() follows one element as it enters, crosses and leaves the visible area, which suits reveals and scenes tied to a section. animation-range picks the stretch of that journey the keyframes cover, for example cover 5vh cover 45vh.
These templates use view() and named view timelines (view-timeline: --name block on a section, read by the elements inside it); none of them needs scroll(). What used to be a scrubbed GSAP timeline is now keyframes plus a range, so no library recalculates every animated style on each scroll event, and the browser can run transform and opacity changes off the main thread. A CSS scroll-driven animation website built this way keeps its motion in the stylesheet, where it is easy to read and to search.
How the scroll animation is built without a library in these files
Every file follows the same order, and an agent that knows it can work safely.
- The gate. A two-line script in the head sets
data-8b-liveon<html>only when the browser supportsanimation-timeline: view()and the visitor has not asked for reduced motion. Every scroll rule is written under[data-8b-live], so without the attribute none of them applies. - The scenes in CSS. Keyframes and ranges per section, in style blocks marked with
data-8b-part. Pinned stages are plainposition: stickyinside a taller section. - The motion kit. One inline script of small modules. It measures what CSS cannot know (how far a track must travel, where a drum must land) and writes it into custom properties, adds an
is-inclass todata-8b-motionelements as they arrive, numbers the items of eachdata-8b-itemsgroup as--iand--nfor staggers, and pauses looping animations off screen. In 52 of the 106 files it also splits headings into lines, words or letters, and in 64 a small progress helper reports how far an element has travelled between two marks, which a scene script uses to switch a class or redraw a scene, such as the step or row lit at mid screen. - Scene scripts. Up to seven short blocks per file, each measuring one section. If one throws an error, the kit logs it and switches that section's scene styles off, so the section stays in its finished layout and the others keep moving.
Smooth wheel scrolling stays. A few lines of the kit ease mouse wheel and trackpad input toward the target position, leave inner scroll areas and pinch zoom alone, and keep touch scrolling native, which is the job Lenis did in the GSAP build.
CSS scroll animation examples, grouped by kind of motion
The groups follow the scene each page is remembered for; most pages hold several kinds.
- Held stages with a sideways track. A sticky stage stays put while panels run sideways as you scroll down: the print studio's five press stations, the brasserie's five services, the cat boarding day, the fitness week, the florist's evening hours, the museum halls, the trail race course, the wedding planner's seasons and the risograph room's print jobs. The kit measures each track's overflow and sets the section's height to match.
- Piles dealt into place. Photos, cards or panels start as a tilted pile and land in their spots: the community club's twelve-tile board, the veterinary colour panels, the construction gallery, the football club's squad deck, the scouting agency's test frames and the kit hire packs.
- A first screen that changes as you leave it. The agency wordmark tears apart, the construction wall breaks block by block, the trampoline jumper is thrown off a sagging edge, and on the members' workspace page the visitor falls into a blue contour field.
- Type and frames used as windows. A landscape narrows into a train window, a portrait slides through a fashion title like a lens, the view dives through the counter of a giant word, and on the screening series page a still shows only through the title's letters before it fills the screen.
- Colour and light that change with the scroll. A living room is regraded from morning to night, a bakery section turns from midnight to yellow, a coral lamp lifts the veil off gallery rooms, and on the leisure pool page blue water rises through a giant heading.
- Stacking cards and sticky frames. The design studio's service cards stick and stack, each shrinking under the next; the law firm's practice panels cover one another; the accountancy slabs push each other back; the paint cards form a deck.
- Objects that turn, unfold or draw. A violet arc rounds the design studio's method ring, the accounting firm closes three red rings, the storage page turns a block of four unit faces and lays them flat, six rooms slide into one floor plan, and a dial fills phase by phase.
A pinned section scroll animation, a stacking cards scroll animation or a dealt pile can be lifted into another site, but not alone: take the section's scene styles, its scene script if it has one, and the motion kit with the gate.
Weight of a CSS scroll animation template against its GSAP build
Measured as the gzipped code a visitor downloads (HTML plus scripts, without fonts and photos), the native pages need 19 to 53 KB and their GSAP builds 66 to 98 KB. The difference is the libraries: GSAP, ScrollTrigger and Lenis in every GSAP build, SplitText in 49 of them and MotionPathPlugin in five. Each native page therefore makes three to five fewer requests.
The HTML file itself grows, to 66 to 188 KB before compression, because the keyframes of every scene are written out in CSS. Repetitive CSS compresses well, which is why the gzipped totals still fall by about half to seven tenths per template. Fonts still load from Google Fonts and photos from Unsplash's servers; what is gone is every script from a CDN.
For a lightweight website template that still moves, that is the trade: one self-contained file a coding agent can read whole, with no library version to pin, update or keep in step with another.
Browser support for CSS scroll-driven animations and the static fallback
Chrome and Edge support scroll-driven animations since version 115, and Safari runs them from version 26. Firefox does not ship them by default yet, so there the gate never sets data-8b-live. The same happens in older Safari and for anyone who has turned on reduced motion in their system settings. The gate tests for the feature, not for a browser name, so a browser that adds support later gets the motion without an edit.
Without the attribute the page shows its finished static layout: each section as its scene would end, ordinary scrolling with no smoothed wheel, sideways tracks as plain grids or rows. No content waits hidden for an animation that never comes. In Firefox the first screen still plays its load-in, since that is a time-based CSS animation, and hover effects work everywhere; reduced motion stops the load-in too. Each template's own page says what its layout becomes.
Whoever needs the scroll motion in Firefox as well can take the GSAP build: every one of these repositories also holds index.gsap.html, the same design on GSAP, ScrollTrigger and Lenis from jsDelivr. Edit one of the two files, not both.
curl -LO https://raw.githubusercontent.com/8bsite/<repository>/main/index.gsap.htmlEditing CSS scroll animations with an AI agent
Any agent that edits files works here, since the motion is CSS and inline script next to the markup. What breaks it quietly is a renamed class or a dropped attribute: the page looks fine at rest and one section stops moving. The rules are short. Keep the gate script in the head, every data-8b-* attribute and every data-8b-part block. Add or remove items inside a data-8b-items group freely, since the kit renumbers them. Add no GSAP or other animation library: the scenes are already built.
To retime a scene, change its animation-range; to calm it, soften its keyframes; to switch it off, delete that section's scene styles and scene script, and the section keeps its finished layout. In Claude Code, start in the folder with AGENTS.md beside the file: it names the parts the kit and the CSS read.
The motion is also written out in words, section by section, in each template's DESIGN.md, which helps when you rebuild the look in another stack. A prompt for the edit:
Read AGENTS.md, then edit index.html for my business: [what it is, who it serves, the facts I give you]. The scroll motion is CSS scroll-driven animations plus the inline motion kit: keep the motion-gate script in the head, every data-8b-* attribute, every data-8b-part block and the classes the scene scripts query. Change copy, photos and colours, not the motion, and add no animation library. Then check the page at 375 and 1440 px in Chrome, once with reduced motion on, and in Firefox, where it must show the finished static layout, with the console clean each time.Which CSS scroll animation template suits which site
- A restaurant that wants a light page: the brasserie, at 24 KB of code. Weak spot: its day of services runs sideways, so the hours must also read well in the plain grid that Firefox and reduced motion show.
- A shop that sells by quote: the risograph studio with its live price calculator. Weak spot: ordering opens an email; there is no cart, file upload or card payment.
- A firm that sells calm: the accounting firm, whose scenes are quiet rules, a marker and a turning sphere. Weak spot: each of the 28 sphere cards carries its own latitude and longitude in the markup, so another client count means new positions.
- An app launch: the captioning app page, with a sticky phone that adds each step's messages. Weak spot: the phone screens are built in HTML and CSS, so another app means redrawing them, and at 35 KB it is one of the heavier files here.
- A family venue: the trampoline park. Weak spot: in Firefox and with reduced motion the jumper and the hopping ball stay still, so the page has to sell on its photos and prices alone.
CSS scroll animation questions
What are CSS scroll-driven animations?
CSS animations whose progress follows scrolling instead of time. You set animation-timeline: view() to tie keyframes to an element crossing the screen, or scroll() to tie them to a scroll container's progress, and animation-range for the stretch they cover. No script has to listen to scroll events.
Can you make scroll animations with only CSS?
Mostly, yes. In all 106 templates here every scroll scene is CSS keyframes. A short inline script still measures what CSS cannot know, such as how far a sideways track must travel, lights the current item in some scenes and smooths the mouse wheel. It is plain JavaScript inside the page, not a library.
Do CSS scroll-driven animations work in Firefox and Safari?
In Safari 26 and later, yes, as in Chrome and Edge. Firefox does not run them by default yet, so these pages show their finished static layout there, with ordinary scrolling and the opening load-in still playing. For scroll motion in Firefox, use the GSAP build, index.gsap.html.
Is a CSS scroll animation lighter than GSAP?
Yes, here by about half to seven tenths. The native pages download 19 to 53 KB of code gzipped; their GSAP builds need 66 to 98 KB and three to five more requests. Fonts and photos are the same in both builds.
Can I still use GSAP with these templates?
Yes, through the second file: each repository keeps index.gsap.html, the same design on GSAP, ScrollTrigger and Lenis. Pick one file and edit only that one. Do not add GSAP to the native index.html: its scenes are already in CSS, and two engines would fight over the same elements.
Are these CSS scroll animation templates free for client work?
Yes. The code is MIT licensed, so you can use it for your own site or a client's and change anything. Demo photos keep the Unsplash License and the fonts their open font licenses, all listed in each CREDITS.md. The demo text is invented, so replace it before launch.
How does an AI agent change a scroll effect in these files?
By editing CSS. Each scene is keyframes with an animation-range under [data-8b-live], so the agent changes the range or the keyframes. It must keep the gate script and the data-8b-* attributes, and it never needs a library. AGENTS.md in each repository names the parts to keep.
Is there smooth scrolling without Lenis?
Yes. The inline kit eases mouse wheel and trackpad scrolling toward its target, as Lenis did, and leaves touch scrolling native. It runs only where the scroll scenes run, so with reduced motion on or in Firefox scrolling is ordinary.

