3 ms·
There are performance considerations as well. Using selectors is more performant than raw tags. https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Writing_
by rezistik 11y ago
There are performance considerations as well. Using selectors is more performant than raw tags.
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Writing_efficient_CSS https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Writi...
Using nesting and tags is less performant than classes. So using more classes is better than less.
- spankalee 11y agoThat article is old > Note: This document was originally written in 2000. Much has changed when it comes to writing CSS that is fast.
- rezistik 11y agoOh...woops. Do you know of any more recent articles? I've been playing by this since I bombed an interview where they asked about CSS performance a few months ago and I had nothing smart to say.