Which characters are valid in CSS class names/selectors?
Asked 07 September, 2021
Viewed 2.2K times
  • 50
Votes

What characters/symbols are allowed within the CSS class selectors?
I know that the following characters are invalid, but what characters are valid?

~ ! @ $ % ^ & * ( ) + = , . / ' ; : " ? > < [ ]  { } | ` #

10 Answer