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

后端 未结 8 2066
独厮守ぢ
独厮守ぢ 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:16

    p:after {
       content: none;
    }
    

    none is the official value to set the content, if specified, to nothing.

    http://www.w3schools.com/cssref/pr_gen_content.asp

提交回复
热议问题