Picture Hover (Black And White)


Assalamualaikum. 
Dah, jom sambung belajar. Sesiapa yang nak sticker handphones/laptops, sila mention di twitter dan PM di facebook ya before this Wednesday. Kali ni bila hover, dia akan berwarna. Tapi bila tak, jadi black and white. Cuba tengok dekat gambar atas, ada perbezaan kan? Yes, itu dia! #muka comel

:Sign In - Layout - Add a Gadget - HTML/Javascript.
:Copy (ctrl+c) dan Paste (ctrl+v) ke dalam situ ya.

<style>
.post a img {
-webkit-filter: grayscale(1);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
filter: url(desaturate.svg#greyscale);
filter: gray; filter: grayscale(100%);
-webkit-transition: 1.0s;-moz-transition: 1.0s;}

.post a:hover img {
-webkit-filter: grayscale(0);
-webkit-filter: grayscale(0);
-moz-filter: grayscale(0);
filter: none; filter: grayscale(0);}</style>

:Preview and Save.

 


1 comments :

SI COMOT said...

jemput join ga nie..banyak hadiah menarik menanti..
http://love-berry06.blogspot.com/2013/01/mega-exclusive-giveaway.html