CSS选择器中的特殊字符

前端之家收集整理的这篇文章主要介绍了CSS选择器中的特殊字符前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
那些是什么?所以我可以逃脱他们..

解决方法

In CSS,identifiers (including element
names,classes,and IDs in selectors)
can contain only the characters
[a-zA-Z0-9] and ISO 10646 characters
U+00A1 and higher,plus the hyphen (-)
and the underscore (_); they cannot
start with a digit,or a hyphen
followed by a digit. Identifiers can
also contain escaped characters and
any ISO 10646 character as a numeric
code (see next item).code (see next item).

http://www.w3.org/TR/CSS21/syndata.html#characters

原文链接:https://www.f2er.com/css/217378.html

猜你在找的CSS相关文章