Overriding The Default Text Selection Color
# Linked to 1 February 2008, 14:30 in Tips by Sam Brown
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.
Tweet Subscribe to the RSS Feed →