+ 2

What is this

*{ color:#000; } What is this * ? Why do we use it ?

9th Apr 2021, 4:52 AM
Parth Shendge
3 ответов
+ 6
* is universal selector that selects all elements in html . Note: it has lower precedence.
9th Apr 2021, 5:35 AM
TOLUENE
TOLUENE - avatar
+ 2
* this is a universal selector using this we can apply a style to every element in website(please tick this answer)
9th Apr 2021, 6:28 AM
Codemurai
Codemurai - avatar