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

Speed Up Your Workflow With A UX Template


May 6th, 2013 Comments Off on Speed Up Your Workflow With A UX Template

The 50 best websites of 2013


May 6th, 2013 Comments Off on The 50 best websites of 2013

Portal CSS


Jun 10th, 2013 Comments Off on Portal CSS

Convert Illustrator shapes into code


Mar 25th, 2013 Comments Off on Convert Illustrator shapes into code

A Beginner’s Guide to HTML & CSS


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

Why Programmers Work At Night


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

Sejarah Typography


May 9th, 2013 Comments Off on Sejarah Typography

Delete Duplicate Records from Table MySQL


Jan 3rd, 2014 Comments Off on Delete Duplicate Records from Table MySQL

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