如何使用 CSS content属性添加 HTML 实体?
content
使用这样的东西只会打印 到屏幕上,而不是不间断的空间:
.breadcrumbs a:before { content: ' '; }
您必须使用转义的unicode:
喜欢
.breadcrumbs a:before { content: '\0000a0'; }