/ Published in: CSS
Found this one interesting!
We have gotten used to the usual blue background when you highlight text on most websites. However, now you have the power as a web designer to change that background and text color to one of your choice. Simply using CSS!
We have gotten used to the usual blue background when you highlight text on most websites. However, now you have the power as a web designer to change that background and text color to one of your choice. Simply using CSS!
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
::-moz-selection { background: #FF5E99; color:#fff; text-shadow: none; } ::selection { background:#FF5E99; color:#fff; text-shadow: none; }