DEV Community

Discussion on: 5 CSS tips you didn't know you needed

Collapse
 
giacomosorbi profile image
Giacomo Sorbi • Edited

Mh, the * selector is relatively very expensive: I would use it rather sparingly.

Thread Thread
 
equinusocio profile image
Mattia Astorino

No. The * is the less expensive. Check some talk about performances by csswizardry

Thread Thread
 
giacomosorbi profile image
Giacomo Sorbi

Googling quickly, they still seem to confirm it among the less efficient: csswizardry.com/2011/09/writing-ef...

Thread Thread
 
equinusocio profile image
Mattia Astorino • Edited

8 years old post...

Thread Thread
 
giacomosorbi profile image
Giacomo Sorbi

This one is much more resent and confirms that * is still more expensive: sitepoint.com/optimizing-css-id-se...