Advertisement
Guest User

Crno bijele slike

a guest
Mar 26th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. Crno bijeli efekt na slikama.
  2. Dakle da objasnim, sve slike na vašemu blogu će biti crno-bijele. Zbogom slike u boji.
  3. Ovaj kod kopirajte ispod <style type=“text/css”> u Html kod predlošku.
  4.  
  5. img {
  6. -webkit-filter: grayscale(100%);
  7. z-index: -9999999999999999999999999px;
  8. -webkit-transition: all 0.9s ease-in-out;
  9. -moz-transition: all 0.9s ease-in-out;
  10. -o-transition: all 0.9s ease-in-out;
  11. -ms-transition: all 0.9s ease-in-out;
  12. transition: all 0.9s ease-in-out;
  13. }
  14.  
  15. img:hover {
  16. -webkit-filter: grayscale(0%);
  17. z-index: -9999999999999999999999999px;
  18. -webkit-transition: all 0.9s ease-in-out;
  19. -moz-transition: all 0.9s ease-in-out;
  20. -o-transition: all 0.9s ease-in-out;
  21. -ms-transition: all 0.9s ease-in-out;
  22. transition: all 0.9s ease-in-out;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement