Complete CSS Selector Reference
Select all elements, and set their background color:
The * selector selects all elements.
The * selector can also select all elements inside another element:
Select all elements inside <div> elements:
![]()
The * selector is supported in all major browsers.
Complete CSS Selector Reference
Your message has been sent to W3Schools.