使用CSS内容添加HTML实体

独自空忆成欢 提交于 2020-08-10 05:41:32

问题:

How do you use the CSS content property to add html entities? 如何使用CSS content属性添加html实体?

Using something like this just prints   使用这样的东西只打印  to the screen instead of the non-breaking space: 到屏幕而不是不间断的空间:

.breadcrumbs a:before {
    content: ' ';
}

解决方案:

参考一: https://stackoom.com/question/nWu/使用CSS内容添加HTML实体
参考二: https://oldbug.net/q/nWu/Adding-HTML-entities-using-CSS-content
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!