Posted By

johnloy on 07/08/09


Tagged

css textmate


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

StrawMan
inkdeep


css to color selection text and background in FF and Safari


 / Published in: Other
 

  1. ::-moz-selection{
  2. background:#cc0000;
  3. color:#fff;
  4. }
  5.  
  6. ::selection { /* Safari */
  7. background:#cc0000;
  8. color:#fff;
  9. }
  10.  
  11. code::-moz-selection {
  12. background: #333333;
  13. }
  14.  
  15. code::selection { /* Safari */
  16. background: #333333;
  17. }
  18.  

Report this snippet  

You need to login to post a comment.