Posted By

bigrobot on 01/06/11


Tagged


Versions (?)

Set Text Selection Color


 / Published in: CSS
 

  1. /* Mozilla based browsers */
  2. ::-moz-selection {
  3. background-color: #FFA;
  4. color: #000;
  5. }
  6. /* Works in Safari */
  7. ::selection {
  8. background-color: #FFA;
  9. color: #000;
  10. }

Report this snippet  

You need to login to post a comment.