CSS-Tricks — CSS & Text Selection & Highlighting
CSS-Tricks.com's Chris Coyier authored a really cool post titled Overriding The Default Text Selection Color With CSS. In the post, Chris explained:
One of those cool CSS3 declarations that you can use today is ::selection, which overrides your browser-level or system-level text highlight color with a color of your choosing. At the time of this writing, only Safari and Firefox are supporting this, and both in slightly different ways. Fortunately, this can be thought of as one of those “forward-enhancement” techniques. It’s a nice touch for those using modern browsers, but it just gets ignored in other browsers and it’s not a big deal.
You can view his example here.
Even cooler is that CSS-Tricks reader Erik Kastner coded a beautiful hidden logo at his blog.
Take some time to visit CSS-Tricks and Meta-Atem.