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.

https://css-tricks.com/almanac/selectors/s/selection/


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -