how to make the highlight of text a different color css code example
Example: custom selection color css
::selection {
color: #000000;
background-color: red;
}
/* for firefox */
::moz-selection {
color: #000000;
background-color: red;
}
::selection {
color: #000000;
background-color: red;
}
/* for firefox */
::moz-selection {
color: #000000;
background-color: red;
}