Easily change the selection colour with CSS simple class

0 Shares
0
0
0

It’s super easy to do, and it can lead to a very nice touch. These little things won’t make or break a site by any means, but they do make a difference in the user experience, and with how easy it is, there’s no reason not to 🙂

/* Selection Color  */
::selection {
background-color: cyan;
}

MDN article with the list of supported properties: Click Here