Advertisement
Guest User

Image desaturation on hover

a guest
Feb 11th, 2024
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. <style>
  2. #image01 {
  3. transition: 0.5s ease;
  4. }
  5. #image01:hover {
  6. filter: grayscale(100%);
  7. -webkit-filter: grayscale(100%);
  8. -moz-filter: grayscale(100%);
  9. transition: 0.5s ease;
  10. }
  11. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement