3 ms·
For more resources about CSS optimization, Google https://developers.google.com/speed/docs/best-practices/rendering https://developers.google.com/speed/docs/be
by smagch 14y ago
For more resources about CSS optimization,
Google
https://developers.google.com/speed/docs/best-practices/rendering https://developers.google.com/speed/docs/best-practices/rend...
Github
http://news.ycombinator.com/item?id=4890384 http://news.ycombinator.com/item?id=4890384
- talmand 14y agoI find it interesting that instead of using tags to target a list-item, it suggests putting a class on every li in the HTML. Seems rather bloating to the HMTL if you have a number of long lists. Is using descendant selectors in that case bad enough to offset all those class attributes? I think I'd rather put a class on the ul or ol so that I can target the parents if needed and then can still easily target the li children.