伪元素 content使用实体字符 效果图: 引入 资源包:font-awesome.min.css css span:after { font-family: "FontAwesome"; content: "f00c"; font-size: 14px; }