4 ms·
It'd be awesome if animation speed could be tied to some sort sort of global user setting -- e.g. how `em` and `rem` let web designers key font size to user pre
by andrewfong 10y ago
It'd be awesome if animation speed could be tied to some sort sort of global user setting -- e.g. how `em` and `rem` let web designers key font size to user preference.
It's common in desktop OSes to let the user change things like the speed at which the mouse pointer moves or how fast a double-click is, with "experienced" users usually opting for faster settings and newer users starting with the slower speeds. Makes sense to do it for animations as well.
- macandcheese 10y agoIt'd be simple enough to have a few body classes (e.g. "animations-slow, animations-default, animations-fast"), and have it be a user-enabled setting somewhere that simply swaps those classes based on cookie. Similar to how some table-density padding / spacing options are constructed.
- scottmf 10y ago*{transition-duration: 100ms}