GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02Three Star Layers Drifting at Different Depth Speeds

Each layer's offset is scaled by its depth ratio and size and brightness shrink by 1/z, so the front layer moves further along the pointer or the automatic curve.

Best forScroll and pointer parallax backgrounds

LAYER_COUNTPARALLAXDRIFTDEPTH_SCALE
Three Star Layers Drifting at Different Depth Speeds
Open in a new tab

02 Three Star Layers Drifting at Different Depth Speeds — Measured area 52.597% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · CSS Starfield: 9 Backgrounds Stars Fly Through

The post this demo lives in

CSS Starfield: 9 Backgrounds Stars Fly Through - preview of all 9 demosCSS Starfield: 9 Backgrounds Stars Fly ThroughA css starfield of a few CSS-animated dots has no depth and a flat constant speed — scenes 01, 02 and 05 solve it with p See all demos in this post

If you like this effect - similar demos