Fitt's law states an obvious thing: the bigger the target, the easier it is to hit.
I did an exploration of that theme: what if an element becomes bigger when the mouse pointer gets closer to it?
I've prototyped this idea in https://codepan.net/gist/fb3ade46482fb29a42702bb213dcf8f3
It's rather simple:
- in mouse move handler calculate a distance to the center of the element
- set the font of the element: the smaller the distance, the bigger the font
Go to index of articles.