Saturday, November 13, 2010

Change the default color which appears whenever any text is selected in a browser

Categories:



This is a very cool hack which helps you to override or change the default color which appears whenever any text is selected in a browser. Really easy and simple to implement. Its only for Firefox and safari.
So what you have to do is just paste this code above ]]></b:skin> tag.





::selection {
    background: #a8d1ff;   /* Changes color in Safari */
    }
::-moz-selection {
    background: #a8d1ff;   /*Changes color in  Firefox */
}
The bold one’s are color codes,you can replace them with the color code of your choice. The above color codes are for blue.

Spread The Love, Share Our Article

Related Posts

No Response to "Change the default color which appears whenever any text is selected in a browser"

Post a Comment