0

Why does the fullstop should be typed when writing class selectors in CSS?

In the code playground the css class first was with a dot is this required or not?

24th Feb 2019, 1:56 PM
Rometh
2 odpowiedzi
+ 5
its a convention, '.' denotes a class, '#' denotes a identity
24th Feb 2019, 2:26 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
Brains right
24th Feb 2019, 2:44 PM
John Asaolu
John Asaolu - avatar