Change text selection style

/ Published in: CSS
Save to your folder(s)

Copy this code and paste it in your HTML
  1. ::selection { color: white; background-color: red; }
  2. ::-moz-selection { color: white; background-color:red; } /* Make it work on Firefox */

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.