loading...

re: 5 CSS tips you didn't know you needed VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Yup, ..to be extra safe :D html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }
 

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

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

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

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

Code of Conduct Report abuse