CSS
[CSS] CSS / Selector / Universal Selector
OOQ
2022. 7. 29. 13:36
728x90
SMALL
#CSS
Universal Selector
- The full selector selects all HTML elements. It is represented by an asterisk (*).
- For example, the following makes all elements blue.
* {
color: blue;
}
It can be omitted when used in the same way as other selectors. So the next two lines produce the same result.
*.abc { color: blue; }
.abc { color: blue; }
728x90
LIST