Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Crno bijeli efekt na slikama.
- Dakle da objasnim, sve slike na vašemu blogu će biti crno-bijele. Zbogom slike u boji.
- Ovaj kod kopirajte ispod <style type=“text/css”> u Html kod predlošku.
- img {
- -webkit-filter: grayscale(100%);
- z-index: -9999999999999999999999999px;
- -webkit-transition: all 0.9s ease-in-out;
- -moz-transition: all 0.9s ease-in-out;
- -o-transition: all 0.9s ease-in-out;
- -ms-transition: all 0.9s ease-in-out;
- transition: all 0.9s ease-in-out;
- }
- img:hover {
- -webkit-filter: grayscale(0%);
- z-index: -9999999999999999999999999px;
- -webkit-transition: all 0.9s ease-in-out;
- -moz-transition: all 0.9s ease-in-out;
- -o-transition: all 0.9s ease-in-out;
- -ms-transition: all 0.9s ease-in-out;
- transition: all 0.9s ease-in-out;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement