Return to Snippet

Revision: 4415
at December 7, 2007 17:55 by neal_grosskopf


Initial Code
::-moz-selection
{
background:#6374AB;
color:#fff;
}

::selection 
{
background:#6374AB;
color:#fff;
}

Initial URL
http://www.quirksmode.org/css/selection.html

Initial Description
Change the color and background color of selected text using only css. Compatible with Firefox and Safari, but not Internet Explorer

Initial Title
Change Color of Selected Text

Initial Tags
css, CSS3

Initial Language
CSS