JSFiddle - React, Tailwind, and code Playground
by tobek
HTML
<p>select me! i should be green not yellow because if a browser doesn't understand any part of a selector, the entire rule is discarded</p>
CSS
::selection {
background: green;
}
::-moz-selection {
background: green;
}
::selection, ::-moz-selection {
background: yellow;
}