css3 - How do I override CSS set on a pseudo element? -
i know has been asked before, find no clean way of overriding css:
.ui-input-search:after { content: ""; height: 18px; left: 0.3125em; margin-top: -9px; opacity: 0.5; position: absolute; top: 50%; width: 18px; }
i need leave ui-input-search
on element, can add own class, like:
.ui-input-search-no-pseudo:after { content: ""; }
question:
there easy way remove "pseudo-css" without having overwrite css line line?
thanks!
as far can tell there no other way override properties. styles defined on element, won't disappear because of selector targets element.
if want remove pseudo element page can content: none
.
Comments
Post a Comment