4 ms·
Surely a button is more accessible than a div regardless?
by goto11 5y ago
Surely a button is more accessible than a div regardless?
- lmm 5y agoMaybe, maybe not. ("Surely" using the browser's CSS animations would be more efficient than reimplementing them yourself in JavaScript - but if actually you benchmark it, the opposite is true). If you're not actually testing it, how could you possibly know?