CSS3/Selectors/universal selector

From W3C Wiki

Universal selector

A Universal selector represents the all elements.

Syntax

*{ properties }

Example

[style.css]

 *{
   color: #f00;
   font-size: 1.2em;
 }

[index.html]

<body>
  <h1>Universal selector example.</h1>
  <p>This is a paragraph.</p>
</body>


The CSS Selectors Level 3 specification defines the Universal selector in 6.2. Universal selector.