Learn how to override the default text selection color with CSS.
Read on how to do it in this tutorial: https://www.w3schools.com/howto/howto_css_text_selection.asp
Text Selection Color
Select the following text:
Try it yourself here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_text_selection
Tip: Read more about the ::selection selector in our CSS Reference: CSS ::selection Property.