using background image for li

前端 未结 6 2475
执笔经年
执笔经年 2021-02-20 03:31

I\'m using a background image for a

  • that will be used as a button, but it\'s not fully shown; however, when write text then it shows. I don\'t want text
  • 6条回答
    •  有刺的猬
      2021-02-20 04:23

      We can simply add the following css rule:

      ul.check-list{  
          list-style-image: url(images/tick.jpg);
      }
      

    提交回复
    热议问题