0
What is the difference?
p.italic { font-style: italic; } .italic { font-style: italic; }
1 Réponse
+ 6
//p.italic means css selector is only selecting class ". italic" which is inside <p> tag.
//. italic means css selector is selecting all ".italic" class in page.