3 ms·
Well, it's fewer DOM manipulations, right? Touch a single style element vs updating a bunch of them.
by kevincennis 13y ago
Well, it's fewer DOM manipulations, right? Touch a single style element vs updating a bunch of them.
- mannix 13y agoIt's fewer DOM manipulations from Javascript yes. The browser will still internally change the styles associated with the DOM elements, just without the JS overhead.