css中伪选择器使用

                           首先先展示效果图

  

 如图红圈标注的地方 使用伪类选择器  :before 

他的常用方法   position: absolute; left: 0; top: -1px; content: ''; 16px; height: 16px; background: url(../images/ask_hh.png) center center no-repeat; background-size: 15px auto; 



原文地址:https://www.cnblogs.com/jishan-coder/p/7485869.html