Saturday, November 12, 2011

Round Hover With Shadow

This tutorial credit to : NurHafizah
Hi ,  Contohnya : Kalau cursor menyentuh gambar , gambar itu akan ada bulatan kat tepi ...

1.Dashboard > Design > Edit Html > Tick Expand Widget Templates

2.Ctrl + F dan cari kod ni :
/* Header
3.Copy kod bawah ni

/*------ 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 #000000; -moz-box-shadow: 0px 0px 20px #000000; -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#000000; 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 #DF7401;
padding: 0px;
}
4.Paste dekat atas kod /* Header

5.Merah tukarkan dengan colour code KLIK SINI !

6.Preview and then click Save Template

0 comments: