New course, Command Line for Creatives, out now!

How to make a background gradient rotate

On Rik's website, the background of the whole page rotates very subtly. We can't do this with Javascript as gradients are background images so we show you how to fake it with Javascript.

Beginner Beginner

0:00/4:38

September 29th 2017

Playback speed

1.25× 1.5× 1.75×

Skip

−60s −30s −10s +10s +30s +60s