Reverting ::selection pseudo CSS to default -
ho there, have piece of code there ::selection defined. code must stay.
::selection {background-color:red;}
now, want revert ::selection defaul value defined user agent.
i have tried using values such initial , inherit. don't work initial's value transparent , there no inherit value.
so wondering how able achieve default selection defined user agent.
instead of setting selection value globally set specific element need. other elements have default selection. selection works 3 values: color, background, text-shadow.
Comments
Post a Comment