Minggu, 09 Oktober 2011

Tutorial : Image Hover / Image Opacity Effect

Dashboard > Design > Page Element > Add A Gadget > HTML / JavaScript


lepastu paste codes kat bawah dalam ruangan kosong tu eh?

CODE IMAGE EFFECT 1 :

<style>
/* ----- Image opacity effect 1 ----- */
.post a img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0;
}

.post a:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;
}
</style>



:128:

CODE IMAGE EFFECT 2 :

<style>
/* ----- Image opacity effect 2 ----- */
.post a img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;
}

.post a:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0;
}
</style>



lepastu SAVE! dah siap!

Credithttp://nieysasyahirah.blogspot.com/2011/03/tutorial-image-hover-image-opacity.html

0 komentar:

:10 :11 :12 :13 :14 :15 :16 :17
:18 :19 :20 :21 :22 :23 :24 :25
:26 :27 :28 :29 :30 :31 :32 :33
:34 :35 :36 :37 :38 :39

Poskan Komentar

Related Posts Plugin for WordPress, Blogger...