4 ms·
Better caching, smaller HTML size and the ability to use inline styles if you do need to override something
by ranyefet 10y ago
Better caching, smaller HTML size and the ability to use inline styles if you do need to override something
- ryannevius 10y agoAre `class` attributes cached more efficiently than `style` attributes for some reason?
- Touche 10y agoI assume he/she means that CSS is cached as an http resource and can be reused in different pages, whereas style attributes are only cached as part of the page; ie using them adds page weight.