What characters/symbols are allowed within CSS class selectors? I know that the following characters are invalid, but what characters are valid?
~ ! @ $ % ^ & * ( ) + = , . / ' ; : " ? > < [ ] \ { } | ` #
转载于:https://stackoverflow.com/questions/448981/which-characters-are-valid-in-css-class-names-selectors