How do you work around IE not supporting :after?

前端 未结 8 1670
無奈伤痛
無奈伤痛 2021-01-21 21:07

I\'ve got a bunch of lists

  • Item 1
  • Item 2
  • Item 3
  • &l
8条回答
  •  北荒
    北荒 (楼主)
    2021-01-21 21:23

    I use javascript and conditional comments. i.e. using jQuery.

     
    

    It is offcourse better to use a seperate JS file.
    This also has the disadvantage that you have to write everything twice since you put it in CSS for good browsers and again in javascript for IE6.

提交回复
热议问题