Home › Forums › CSS › *:before, *:after { content: ‘ ‘ } › Re: *:before, *:after { content: ‘ ‘ }
February 22, 2013 at 3:39 pm
#121829
Andy Howells
Participant
You should be concerned, say we have 100 elements on the page.
Using the universal select for box-sizing isn’t creating anything, it’s just adjusting the properties of all elements. So for example, adjusting 100 elements on a page.
By applying before/after universally you’re effectively adding another 200 elements (all be them pseudo) to the page.