1::selection {
2 background: #ffb7b7; /* WebKit/Blink Browsers */
3}
4::-moz-selection {
5 background: #ffb7b7; /* Gecko Browsers */
6}
1::-moz-selection { /* Code for Firefox */
2 color: red;
3 background: yellow;
4}
5
6::selection {
7 color: red;
8 background: yellow;
9}