Monzo Website / Blog - little details

Was just browsing the Monzo website - and found this little detail. A spot of Hot Coral text highlight. Go and highlight any text on the main site

image

Love that little detail…

6 Likes

I make sure to do this on all the sites I build :slight_smile: Super quick and only a few lines of CSS :slight_smile:

::selection {
    background: #111;
    color: #fff
}

::-moz-selection {
    background: #111;
    color: #fff
}
3 Likes

Nice, same on mobile site.

Huh. I totally didn’t know you could even set the selection colour using CSS.