Guides / Motion backgrounds / How to make one
Guide

How to make a motion background (6 ways, ranked by effort)

Every real route to a moving background — starting with one you can finish before you reach the second heading. Backed by what actually gets made: the exact vocabulary of 549 real AI motion-background prompts from our own product data.

Most "how to make a motion background" guides start with software you need to install. This one starts with a method that runs on this page. Here are all six, ranked from least to most effort — pick your row, jump to the section.

#MethodTimeCostSkillOutput
1In your browser, right here~60 secondsFree, no signupNoneEmbed code or HTML file
2Generate with AI from a prompt~41.5 s median renderFree account, uses creditsNoneScroll-scrubbed hero (WebP frames)
3Film or upload your own clip10–30 minFreeA phone cameraScroll frames from your footage
4Pure CSS / canvas code1–3 hoursFreeHTML/CSS/JSA few KB of code
5Canva, After Effects, stock loops30 min – days$0 to $60+/moEditing toolsMP4/MOV loop
6Start from a template~5 minFreeNoneA full page, background wired

Method 1 — Make one right now, in your browser

The demo below is a real motion background: a clip pre-rendered into image frames that scrub as you scroll inside the frame. Change the text and colors, or upload your own clip — then copy the embed code or download a self-contained HTML file. Free, no signup.

your-site.com
Customize & export

Rendered by the same engine as a published story. Scroll-driven widgets scroll inside the frame.

Upload limits, so you know before you pick a file: max 100 MB video, first 100 seconds used, capped at 350 scroll frames (a full 100 s upload is sampled at 3.5 fps). Short clips keep more of their motion. For the full-size version of this tool — with more styles and presets — use the free motion background maker.

Method 2 — Generate one with AI from a prompt

If you don't have footage and don't want stock, describe the background you want and let AI build it. In the Scrollytelling editor this happens automatically when you create a story (and you can regenerate with your own prompt). Honest print: this route runs in the editor and uses credits — it's the one method on this page that isn't free-forever.

The pipeline is three steps: a still image is generated first, an image-to-video model animates it into a 20-second clip, and the clip is split into scroll frames. From our own product data over the last 30 days on Scrollytelling (549 motion backgrounds generated):

  • Hero still-image render time: median 5.3 s, p90 10.4 s.
  • Image-to-video render time: median 35.9 s, p90 46.6 s.
  • Total AI time for one motion background (still + video): median 41.5 s, p90 72.4 s.

Reliability, same window: the video step succeeded on the first attempt 549/549 times; stills were 99.3% first-attempt. In practice you type a sentence, and well under two minutes later a finished motion background is scrubbing behind your headline.

The Scrollytelling editor generating a hero motion background from a prompt
The editor mid-generation: still image first, then the video pass, then frames.

Create a story in the editor to try it — the first one is free.

The prompt recipe: what 549 real prompts actually say

Because every AI motion background on Scrollytelling starts from a text prompt, we can measure the vocabulary of backgrounds people actually ship. Across the 549 motion-background prompts from the last 30 days, the words that dominate:

Word% of 549 promptsWord% of 549 prompts
slow96.7%smooth57.4%
dolly96.5%dust50.3%
light83.1%particles50.3%
volumetric82.7%subtle47.7%
drift68.5%dark46.6%

The camera grammar is even more lopsided: "dolly-in" appears in 94.5% of prompts (519/549), "push" in 52.8% (290), "parallax" 6.0% (33), "orbit" 2.6% (14) — and 53% (291) explicitly demand "no cuts". Mood-wise, 52.5% of prompts are dark-mood versus 8.2% explicitly light/bright — a 6.4:1 dark bias (38.4% specify neither).

A real motion-background prompt annotated with the frequency of each high-signal word
Anatomy of a real hero prompt — the high-frequency words highlighted with how often they appear across all 549 prompts.

Assemble those numbers into a sentence and you get a template you can paste into any image-to-video tool:

Slow dolly-in through [your scene], smooth continuous camera push, volumetric light, fine dust particles drifting, subtle motion, dark moody atmosphere, cinematic, no cuts.

Why these words work: "slow" and "subtle" keep the motion from fighting your foreground text; "dolly-in" and "no cuts" give one continuous move that scrubs cleanly on scroll; "volumetric light" and "particles" add depth that survives compression. The full breakdown — models, render times, failure modes, and the complete word table — is in our study of 549 AI-generated motion backgrounds.

Method 3 — Film or upload your own clip

You don't need a drone or a gimbal — you need the same thing the prompt data keeps asking for: one slow, continuous camera move. Hold your phone steady and walk slowly toward your subject (a hand-held dolly-in), or lock it off and let the scene move — steam, water, traffic, leaves. Avoid cuts, whip-pans and shaky footage: a scroll-scrubbed background plays your clip forward and backward, and any jitter reads twice.

  1. Shoot 10–20 seconds

    One move, one direction, no cuts. Landscape orientation for desktop-first pages.

  2. Trim to the good part

    Remember the limits: max 100 MB video, first 100 seconds used, capped at 350 scroll frames — a shorter clip means more frames per second of footage, so scrubbing feels smoother.

  3. Upload it

    Drop it into the maker (no signup) or into the editor as your story's hero background, and the frames are extracted for you.

Uploading and trimming a video clip as a hero background in the Scrollytelling editor
Uploading and trimming your own clip as a hero background in the editor.

Method 4 — Write it in CSS or canvas

For some backgrounds, code beats video: a moving gradient or a particle field costs a few kilobytes instead of megabytes of frames, scales to any resolution, and never shows compression artifacts. The trade-off is that everything must be describable mathematically — gradients, noise, particles, waves. Here's a complete animated-gradient background:

.motion-bg {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #0b0b10, #312e81, #0e7490, #0b0b10);
  background-size: 300% 300%;
  animation: drift 18s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

Add a <canvas> with a few dozen slowly drifting dots and you've hand-coded the "fine dust particles" that half of all AI prompts ask for. Respect prefers-reduced-motion, and keep it slow — the 96.7% of prompts that say "slow" are right.

Don't write code? The no-code equivalent of this method is our widgets: scroll video for scrubbed backgrounds and video background for autoplay loops — both free to customize and embed.

Method 5 — Canva, After Effects, or stock loops

The classic route, and for some jobs still the right one. As of August 2026: Canva and CapCut both pitch animating elements over a background and exporting an MP4 in a few clicks; After Effects remains the ceiling for broadcast-quality loops (particles, plugins, exact loop points) at the cost of a subscription and a real learning curve; and the stock route is enormous — Storyblocks alone advertises over 110,000 animated background clips, with Pixabay and Videezy offering thousands free. There are also single-purpose browser tools: Krumzi, for instance, advertises free looping gradient MP4s with no signup — though gradients appear to be all it offers.

When this method wins: you need an MP4 file — for a video edit, a stream overlay, a presentation, worship projection software — rather than a web page background. When it loses: on the web, a big looping MP4 is heavy, ignores the reader, and still needs code to sit behind your content. We compared every tool in this category in our background animation software roundup.

Method 6 — Start from a template with the background already wired

The zero-decision route: open a page where a motion background is already doing its job, and swap in your content. Every Scrollytelling template is a real, finished story — most open with a motion background hero — and the motion backgrounds gallery collects real generated backgrounds you can preview and build on. A few, straight from the product:

Hover or tap a tile to play it. Pick a template, and the background — frames, scrub wiring, mobile behavior — is already done.

Which method should you pick?

If you…Use
Want one on your site in the next five minutesMethod 1 — the in-browser maker
Have no footage and want something cinematic and originalMethod 2 — AI from a prompt (median 41.5 s of render time)
Have a product, a place, or a process to showMethod 3 — film a slow dolly-in on your phone
Need a tiny payload or exact brand gradientsMethod 4 — CSS/canvas
Need an MP4 file for video, streams, or projectionMethod 5 — editors and stock
Want the whole page, not just the backgroundMethod 6 — a template

Frequently asked questions

How long does it take to make a motion background?

In the last 30 days on Scrollytelling, the AI route took a median 41.5 s of render time per motion background (p90 72.4 s) — the still image plus the video pass. The in-browser maker takes about a minute including your upload; code and After Effects routes take hours.

Can I make a motion background free, without signing up?

Yes. The free motion background maker runs in your browser with no signup: customize the live demo, upload your own clip, then copy the embed code or download a self-contained HTML file. AI generation is different — it happens in the editor and uses credits.

What is the best file format for a website motion background?

Usually not a GIF, and often not a raw MP4 either. Scrollytelling converts every motion background into a sequence of up to 350 WebP frames (quality 90, max width 1200 px) that the page scrubs on scroll — pre-extracted frames scrub smoothly where a seeking video element stutters. For a simple autoplay loop, a muted MP4 or WebM is fine.

How do I make a motion background loop?

For an autoplay loop, film or generate a clip that ends close to where it began and let the video element loop. Scroll-driven backgrounds sidestep the problem entirely: the reader's scroll position controls playback, so the clip plays forward and backward instead of repeating a seam.

Can I make a motion background on my phone?

Yes. The maker and the editor both run in a mobile browser, and a phone camera is the easiest way to shoot Method 3 — a slow, steady walking shot toward your subject scrubs beautifully.

What resolution should a motion background be?

Scrollytelling caps scroll frames at 1200 px wide (WebP, quality 90). That sounds modest next to 4K wallpaper sites, but a web background sits behind text, moves constantly, and gets scaled by the browser — at that size compression artifacts are invisible and pages stay fast. 4K matters for desktop wallpapers, not website backgrounds.

Make yours now

Method 1 is a click away — customize a motion background in your browser, free, no signup, and take the embed code with you.

Open the free motion background maker →