Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 css:before { content:"" }语句输出 SGML 字符?
:before { content:"" }
这不起作用:
span:before { content:"√" }
逃避似乎也不起作用。
你的意思是 SGML/HTML 实体?
不,该content物业不接受加价;在这种情况下,您需要使用实际的 Unicode 字符 √ 或其对应的转义序列:
content
span:before { content:"\221A" }