Re:A modern responsive front-end framework based on Material...
by vbezhenar on Friday April 24, 2015 @09:21AM
(#9433078)
Modern browsers do their best to optimize typical use-cases for CSS selectors and .collection li for sure will be handled optimally. You shouldn't worry about CSS selector performance unless you have to provide good performance for very old browsers or hit specific performance problem. Optimize for humans, not for computers.
[ Parent
| on HN ]
Re:A modern responsive front-end framework based on Material...
by rezistik on Friday April 24, 2015 @10:43AM
(#9433646)
Mozilla disagrees.
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Writi...
They explicitly state using css classes is more performant than using tags.
I'd be interested in a CSSPerf(Do they have those?)
Re:A modern responsive front-end framework based on Material...
by calaveraDeluxe on Saturday April 25, 2015 @07:03AM
(#9437972)
As others have pointed out, that article is now 15 years old.