Selamat Datang

Membuat Dropdown Menu Twitter Bootstrap Terbuka Saat Mouse Hover

Dropdown menu di Twitter Bootstrap secara default akan terbuka jika kita klik, bukan :hover, mengapa dibuat seperti itu? tentunya banyak pertimbangan dari si pembuat Twitter Bootstrap, salah satunya pertimbangan bahwa website akan dibuka dengan Tablet dan SmartPhone, dimana device tersebut bisa dibilang tidak mengenal mouse hover, hanya touch, drag, dan beberapa fungsi lain.

Nah bagaimana jika kita tetap ingin membuat menu dropdown di Twitter Bootstrap terbuka saat mouse hover?

Simple, coba tambahkan kode berikut di css anda.

ul.nav li.dropdown:hover ul.dropdown-menu{
display: block;
}

/* Jika anda ingin menghilangkan tanda panah (arrow) */
a.menu:after, .dropdown-toggle:after {
content: none;
}

Semoga berguna, salam web design Indonesia.


Website yang berisi Tutorial, Tips, Trik, Inspirasi, Opini, Cerita, Studi kasus, dan berbagai hal menarik tentang Web Design, Web Development dan Graphic Design untuk orang-orang kreatif di Indonesia. View all posts by TWD Editorial

Other Resources

External resources related Web Design, Web Development & Graphic Design that covered free resources, tips & tricks, workflow, articles, etc

Cara Install Git, Node, Grunt, Sass, Compass & Susy di Windows PC


Jan 6th, 2015 Comments Off on Cara Install Git, Node, Grunt, Sass, Compass & Susy di Windows PC

Twitter Bootstrap vs Zurb Foundation 4


Jun 9th, 2013 Comments Off on Twitter Bootstrap vs Zurb Foundation 4

Why Programmers Work At Night


May 22nd, 2013 Comments Off on Why Programmers Work At Night

Menghapus Menu “Posts” dari wp-admin WordPress


Sep 22nd, 2014 Comments Off on Menghapus Menu “Posts” dari wp-admin WordPress

A Beginner’s Guide to HTML & CSS


Apr 7th, 2013 Comments Off on A Beginner’s Guide to HTML & CSS

Basic jQuery Slider


Jun 9th, 2013 Comments Off on Basic jQuery Slider

Portal CSS


Jun 10th, 2013 Comments Off on Portal CSS

Infinite – A Design Blog Template HTML/CSS


May 27th, 2013 Comments Off on Infinite – A Design Blog Template HTML/CSS

Stop Using Arial & Helvetica


May 25th, 2013 Comments Off on Stop Using Arial & Helvetica

Understand the Favicon


Mar 24th, 2013 Comments Off on Understand the Favicon

Klik Tombol Like / Suka ya kawan..

Klik tombol "Like" atau "Suka" untuk mendapatkan update tutorial, tips & tricks serta info terbaru seputar dunia web design & development