I was going to apply a CSS Reset on my website. I usually use Eric Meyer's link . But I was looking at the suggestion of Diego Eis in link that is like this:
* {
margin:0;
padding:0;
list-style:none;
vertical-align:baseline;
}
I found it cooler, simpler (of course Eric Meyer's is more complete.)
I was testing on my Visual Studio Express 2013 for Web, and Web Essentials ran a warning saying:
Performance: Never use the universal selector. It's a big negative performance impact on browsers rendering.
Translating:
Performance: Never use the universal selector. This has a large performance impact on browser rendering.
Why does the universal selector *
cause this negative impact on browser rendering?