使用after before 伪类进行
div:after{
content:‘11‘
}
注意是在div的里面的后面添加。在开发者工具中查询时html中显示的是 ::after,在css样式中才能看到。
侧边工具开发3
原文:http://www.cnblogs.com/yangxiaomie/p/4844996.html