Animated Gradient Border

A glowing conic-gradient border that spins forever — pure CSS using @property, no JavaScript.

Designer notes

Works on any element with a border-radius: cards, buttons, inputs, avatars. Specify the gradient colour stops, border thickness, glow blur and one full rotation time (e.g. 4s). Speeding up on hover is a nice, cheap state change. Keep it to a handful per screen — it draws the eye hard.

Tags
Cost
Effort: LowPerf: Light
Libraries
None — native browser features
Browser support
Chrome, Edge, Safari 16.4+, Firefox 128+. Older browsers show a static gradient border.
Added
2026-10-27 · jc