I was searching about *
sign and what does it mean then I know now what does it means ... But why we don't use body
element instead of it so that it will select all elements in the body
element.
Asked
Active
Viewed 105 times
0

BoltClock
- 700,868
- 160
- 1,392
- 1,356

Basem_Sleem
- 3
- 2
-
You can use `body` if you want. But `*` works for all elements, not only `body`. – N Alex Aug 22 '19 at 22:22
-
This question was already answered: [Here.](https://stackoverflow.com/questions/5890342/difference-between-body-and-in-css) – pedro pimont Aug 22 '19 at 22:23
1 Answers
0
*
means a property/setting is applied to all elements, whereas not all elements necessarily inherit all properties/settings from body

Johannes
- 64,305
- 18
- 73
- 130