You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nzakas edited this page Oct 24, 2011
·
2 revisions
The universal selector (*) selects all elements and can create performance issues when used as the far-right part of a selector. For example, this type of rule is not preferable:
This requires the browser to match all elements first, and then go up the DOM tree to find an element with a class of .foo. Generally, it's best to avoid using the universal selector.