The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS *:before, *:after { content: ‘ ‘ } Re: *:before, *:after { content: ‘ ‘ }

Andy Howells

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.