CSS: How to remove pseudo elements (after, before,…)?

后端 未结 8 2052
独厮守ぢ
独厮守ぢ 2020-12-22 17:44

I would like to use a switch for the layout of paragraph tags on a webpage.

I use the after pseudoelement:

p:after {content: url(\"../img/paragraph.g         


        
8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-22 18:25

    *::after {
       content: none !important;
    }
    *::before {
       content: none !important;
    }

提交回复
热议问题