* selector

Back to the index.

Selects all elements.

Testsheet:

* {color: #CB000F;}

* is a universal selector, meaning that it selects every single element on the page. It has very low specificity, though: it affects only the elements that have no definition of their own.

As a result all text on this page that doesn’t have an explicit color definition should be red.