CSS * Selector
ExampleHow to select all elements, and set their background color:
Try it yourself » |
Definition and Usage
The * selector styles all elements.
The * selector can also style all elements inside other elements:
ExampleHow to select all elements inside <div> elements:
Try it yourself » |
Browser Support
The * selector is supported in all major browsers.
CSS Version
The * selector was first introduced in:
CSS 2
