How to remove string that dosn't have an html tag using CSS

后端 未结 5 1039
无人及你
无人及你 2021-01-17 23:09

I need to remove strings that do not have an html tag.

For example :

5条回答
  •  执念已碎
    2021-01-17 23:26

    Set the style inside of class "A" to be blank by default. Set up a secondary class to handle ".A a". This will allow you to have two different styles. One for anchored, one for not.

    .A { color: rgba(0, 0, 0, 0.5); }  //Set this to transparent
    .A a { color: #000 }
    

    Something like that.

提交回复
热议问题