+ 1

Difference between p { } vs p *{ } ?

When p { } is inserted inside <head> without *, stil code applies to all paragraphs in the <body>, then what is the point of using *? while in can be achieved without it. what is difference?

3rd Dec 2016, 9:31 PM
Said
Said - avatar
1 Réponse
+ 1
p {} apply on all paragraphs. p * {} apply on all children of all paragraphs.
3rd Dec 2016, 9:48 PM
Ondřej Doněk
Ondřej Doněk - avatar