tutorial #7 : Rounded Image Hover Effect

ok tuto neh amy yg request okeh .tahu tak image hover effect neh cam mane ? kalau tujukan cursor kat pic nanti dye akan melengkung and ade shadow .
ok ,mula2 pergi design > edit html
and search kod nih
a img {
then paste kod neh kat bawah kod tadi
-webkit-transition-duration:.4s;} img:hover {filter: alpha(opacity=60); opacity: .6; -webkit-box-shadow: 0px 0px 40px #bebaba; -moz-box-shadow: 0px 0px 40px #bebaba; -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: 0px dashed #000000; border-radius: 40px; -moz-border-radius: 40px;}
da ? okeh .belum habis lagi ok .
biru :kelebaran shadow
purple :warna shadow boleh rujuk sini
orange : warna border gambar
hijau :kelengkungan border
kuning : ketebalan border gambar

okeh ! Selamat Mencuba
creds : afyq
UPDATED
apit rase mungkin ad diantara korang yg pakai template designer and x jumpa kod a img { tuh kan ? jgan risau . Korang leh tngok sini

15 comments:

Nazuha Firdaus. said...

apit,xdpt pon code a img { tuh.:((

Nazuha Firdaus. said...

eh3 skrg dh tau!

Apit said...

@Nazuha Firdaus.HAHA .buat lawak laa :)

U'RE said...

sy tak dapat buat la..

Fatihah said...

apit , tak dpat pon a img { tu .

Apit said...

Okay .apit da renew .tngok laa :)

Nazuha Firdaus. said...

@apitrawrrhahahaha!

Siti Nur Idayu Sabri said...

asal x dapat ? img{ x de pon

Nadd said...

thx sbb ltk link i. :)

AkmaLaili ▲ said...

tk dapt pon code a img { tue ,

Nadfa Bazli said...

thanks apit :)

iss said...

thanks.ambil ni.

Nadia Natasha said...

Thanks a lot k :>

Anonymous said...

Thanks :)

Tia said...

Thanks! Da jadik!

Subscribe