Skip to content

kmikeym/motion-backgrounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motion Backgrounds

A small collection of full-screen animated backgrounds. Every one is a single, self-contained HTML file — no dependencies, no build step, no JavaScript, no images. Just CSS and inline SVG.

Open index.html for the live gallery, or drop any examples/*.html straight into your project.

The previews below are stills. Each background is animated — open the file to see it move.

Gallery

Dithered Clouds
01 · Dithered Clouds
Amber CRT
02 · Amber CRT
Aurora Mesh
03 · Aurora Mesh
Blueprint Grid
04 · Blueprint Grid
Synthwave Sunset
05 · Synthwave Sunset
Starfield Drift
06 · Starfield Drift

The backgrounds

# Name What it is Techniques
01 Dithered Clouds Two-tone Y2K sky, slowly drifting SVG feTurbulence, posterize, bitmap dither
02 Amber CRT Vintage phosphor terminal gradients, scanlines, rolling bar, flicker
03 Aurora Mesh Soft blurred gradient mesh blurred radial-gradients, mix-blend-mode: screen
04 Blueprint Grid Technical HUD grid + radar sweep repeating-linear-gradient, parallax pan
05 Synthwave Sunset 80s dusk with neon floor 3D perspective/rotateX, CSS masks
06 Starfield Drift Calm parallax stars tiled gradient dots, parallax, twinkle

How to use

  1. Open the example file you want.
  2. Copy everything inside <body> plus its <style> block into your page. (Most are just two or three <div>s and some CSS.)
  3. Make sure your background layer sits behind your content — these use position: fixed; inset: 0 and a low z-index.

Each file starts with a comment block explaining the technique and the knobs — the few values to change for color, speed, and density.

Design principles

  • One file, zero dependencies. Each background is portable on its own. No npm, no CDN, no fonts.
  • Pure CSS / SVG. No JavaScript, so they run anywhere — including inside an <iframe>, an email preview, or a slide.
  • Cheap to render. Transforms and gradients, not per-pixel JS. They idle quietly in the background.
  • Documented knobs. Every file tells you the handful of values worth tweaking.

License

CC0 1.0 Universal — public domain. Use them anywhere, for anything, no attribution required. No rights reserved.

About

A collection of full-screen animated backgrounds — each a single self-contained HTML file. No dependencies, no JS, no images. Pure CSS/SVG.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages