Advertisement
vaninoe

saturate image

Nov 16th, 2021
1,594
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. <style>
  2.  
  3. #saturate img {
  4. filter: saturate(100%);
  5. transition: .25s ease-out;
  6. }
  7.  
  8. #saturate:hover img {
  9. filter: saturate(200%);
  10. transition: .25s ease-in;
  11. }
  12.  
  13. </style>
  14. <div id="saturate"><img src="Your Image Here">
  15. </img>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement