3 ms·
HTML's DOM isn't slow, it is the CSS which makes it slow. When you manipulate the DOM the vast majority of the time spent regenerating it is in CSS, the raw nod
by Someone1234 12y ago
HTML's DOM isn't slow, it is the CSS which makes it slow. When you manipulate the DOM the vast majority of the time spent regenerating it is in CSS, the raw node tree itself is fairly cheap.