Ask coding questions

← Back to all posts
Highlighting
WilliamXing (51)

How do you make it so that when the people highlight some text, instead of the highlight being light blue, it's red?

Answered by robowolf (549) [earned 5 cycles]
View Answer
Comments
hotnewtop
robowolf (549)

Do you mean in css?

::selection{

background:red;
}

Here's a link with more info.