skip to content

Animated Background


This week's widget is a animated background with CSS. Note how the background color gradually shifts from a pure blue to a purple gradiant:

See the Pen Animating background by Tristan White (@triss90) on CodePen.

The effect is achieved by gradually shifting the CSS background-position.