Advertisement
eckrin

Selection control

Jan 18th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.33 KB | None | 0 0
  1. // take control over how the selection of elements are visualized on a html page.
  2.  
  3. ::selection {
  4.   background: #adc42d; // sets the background block to a nice green instead of the standard blue
  5.   text-shadow: none; // I think you get this line ;)
  6.   color: #fff; // and finally this sets the text color to white
  7. }
  8.  
  9. // happy coding!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement