Thursday, October 20, 2011

Tutorial >> round hover with shadow



Selamat Petang//
1. Dashboard > Design > Edit Html > Tick Expand Widget Template
2. Tekan Ctrl + F dan cari kod ini :

/* Header
3. Dah jumpa , paste kod ini kat ATAS kod yg korang cari tadi tu ok.

 /*------ 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;
}
**Tukar kod colour `00000` mengikut color yang korang suka ok. sini
4. Da siap . SAVE !

No comments: