Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kevincennis
· 13y ago · 0 comments
Well, it's fewer DOM manipulations, right? Touch a single style element vs updating a bunch of them.
Comments
[–]
mannix
13y ago
It'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.