19 ms·
> you have to have something to drive transitions like a mouse click, apparently Could you just position the mouse somewhere, never move it again, and let CSS
by thaumasiotes 8y ago
> you have to have something to drive transitions like a mouse click, apparently
Could you just position the mouse somewhere, never move it again, and let CSS flicker drive everything? It gives you a natural clock.
- gwern 8y agoWhat's 'CSS flicker'?
- sbierwagen 7y agoCSS can move or change the size of an element. You can also write CSS rules that fire when a mouse hovers over an element. You could write a page so that an element grows until it hits the mouse cursor, shrinks until it's not under the cursor again, then starts growing again... The element boundary will jitter under the cursor, with a frequency determined by animation speed. Worked example: https://dev.to/linxea/css-flicker-on-hover-5gj5 https://dev.to/linxea/css-flicker-on-hover-5gj5