Saturday, April 2, 2011

TUTORIAL : IMAGE HOVER

Assalamualaikum sume . .
arini adalah hari yang sangat2 la boring sampaikan putry dah tak tahu nak wat ape . .
so arini putry terlebey rajin nak wat tuto kt korang . .
tuto untuk hari ini ialah image hover . 
korang nak tahu image hover tue cane . ?
cube sentuhkan cursor korang kat gmbar di bawah . 

* gambar di atas takde kene mengene dengan tuto ini okey .

nampak tak ? nampak tak ?
okey , now jom start . 

1. Log in > Dashboard > Design > Edit HTML > Tick expand widget
2. Tekan CTRL + F dengan srentak and search kod kat bawah nih .

/* Header

3 . korang dah jmpe ? then korang copy kan code di bawah dekat ATAS kod yang korang dah cari tadi .

/*------ IMAGE ANIMATION------*/
img {filter:alpha(opacity=100);
-webkit-transition-duration:.5s;} img:hover {filter: alpha(opacity=60); opacity: .6; -webkit-box-shadow: 0px 0px 20px #FF3366; -moz-box-shadow: 0px 0px 20px #FF3366; -webkit-border-top-right-radius:30; -webkit-border-top-left-radius:30; -webkit-border-bottom-right-radius:30; -webkit-border-bottom-left-radius:30;}img:hover {filter: alpha(opacity=60); opacity: .60; border: 1px solid#FF3366; border-radius: 50px; -moz-border-radius: 50px;}
-moz-opacity:1.0;
opacity:1.0;
}
img:hover {
filter:alpha(opacity=80);
-moz-opacity:0.80;
opacity:.80;
}
u {
text-decoration:underline;
border-bottom: 2px dotted #ff0080;
padding: 0px;
}

4 . dah siap ? then korang boley terus save .
* korang boley tukar kod colour BIRU tue mengikut kesukaan korang okey !






2 comments: