Labels

This is default featured slide 1 title

Easy to customize it, from your blogger dashboard, not needed to know the codes etc. Video tutorial is available, also a support forum which will help to install template correctly. By DeluxeTemplates.net

This is default featured slide 2 title

Easy to customize it, from your blogger dashboard, not needed to know the codes etc. Video tutorial is available, also a support forum which will help to install template correctly. By DeluxeTemplates.net

This is default featured slide 3 title

Easy to customize it, from your blogger dashboard, not needed to know the codes etc. Video tutorial is available, also a support forum which will help to install template correctly. By DeluxeTemplates.net

This is default featured slide 4 title

Easy to customize it, from your blogger dashboard, not needed to know the codes etc. Video tutorial is available, also a support forum which will help to install template correctly. By DeluxeTemplates.net

This is default featured slide 5 title

Easy to customize it, from your blogger dashboard, not needed to know the codes etc. Video tutorial is available, also a support forum which will help to install template correctly. By DeluxeTemplates.net

Selasa, 11 Oktober 2011

membuat dropdown sederhana

Pertama-tama kita buat dulu dokumen HTML savenya bebas yang penting (dot)HTML. ketikan script dibawah ini

ini hasilnya dari script HTML tadi

setelah itu kita buat file dengan style.css usahakan file css ini dengan html yang diatas di 1 folderin
.



dan ini hasilnya dari css diatas :

untuk membuat efek dropdown menu, tag <ul> yang berada dalam <li> harus kita sembunyikan dulu . gunakan property display: none

dan ini hasilnya dari css diatas :

berikutnya atur penampilan menu utama

dan ini hasil dari css diatas :

agar lebih menarik, buat css rule untuk kondisi menu hover.

dan ini hasil dari css diatas :

kemudian kita buat kondisi hover untuk menampilkan tag <ul> yang berada dalam <li> aliasa mengatur tampilan submenu
.

dan ini hasil dari css diatas :




hampir sama dengan langkah di atas, namun kali ini tag yang di atur adalah <li>


dan ini hasil dari css diatas:

selanjutnya atu agar setiap tag <a> yang berada dalam <li>, berubah warna backgroundnya saat kondisi hover

dan ini hasil terakhir dari contoh diatas :

Tidak ada komentar:

Posting Komentar

 

Blogger news

Blogroll

About