On 6/3/12 2:28 PM, Ste Allan wrote:
I'm wondering then if anyone could advise as to what is best for performance. 
Is it having heavier HTML with lots more classes but smaller and more efficient 
CSS selectors? Or, is it lighter HTML with fewer classes but bigger and less 
efficient CSS selectors?

It really depends on how many elements and how many rules are involved, and on what you're doing with the page.

If your page has 100-1000 elements (pretty normal) and 10,000 CSS rules (also pretty normal), that's a different situation from 100,000 elements and 200 CSS rules...

-Boris

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to