Advertisement
kobial8

Image BlackNWhite then Real Color on hover

Apr 20th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.35 KB | None | 0 0
  1. .single-client img{
  2.     filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  3.     filter:grayscale(100%);
  4. }
  5. .single-client img:hover {
  6.     filter:none;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement