Posted By

JimSangwine on 05/05/11


Tagged


Versions (?)

Change Text Selection Color


 / Published in: CSS
 

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

Report this snippet  

You need to login to post a comment.