CSS Class and ID selectors - name | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

CSS Class and ID selectors - name

The name of the CSS Class and ID selectors cannot start with a number. #2Xlarger doesn't work; #X2larger works fine. For example: https://code.sololearn.com/WwVPb6EFmUY5

31st Aug 2017, 3:36 PM
Calin Indre
Calin Indre - avatar
3 Answers
+ 5
nice work !!☺
1st Sep 2017, 12:10 PM
Art456
Art456 - avatar
+ 1
Danke schön gemacht
13th Sep 2017, 12:35 AM
Henrik
0
I am working on an expanded version. I have included in this example a list with the restricted characters in the name of the CSS class and ID https://code.sololearn.com/Wb12H7uPw7X6
4th Sep 2017, 11:07 PM
Calin Indre
Calin Indre - avatar