Why does the fullstop should be typed when writing class selectors in CSS? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 5
its a convention, '.' denotes a class, '#' denotes a identity
24th Feb 2019, 2:26 PM
į Œį ŒBrains[Abidemi]
į Œį ŒBrains[Abidemi] - avatar
+ 1
Brains right
24th Feb 2019, 2:44 PM
John Asaolu
John Asaolu - avatar