DEV Community

Daniele De Santis
Daniele De Santis

Posted on

Variable font animation - change axis on mouse move

Variable font animation on CodePen: change the value of the axis on mouse move.

The value of the weight axis (font-weight) and width axis (font-stretch) get updated depending on the position of the mouse on the screen.

Discussion (0)