CSS :before、:after伪元素 content属性 中文乱码 StavinLi 2023-11-14 434 阅读1分钟 问题:CSS :before、:after伪类 content属性 中文乱码 解决办法: 将中文转为unicode 编码 站长工具,例如:、—>\u3001 content: "\3001"; 注意:去掉字母u