Code Snippets

How to Make Bootstrap Dropdown Menu Extend on Hover

Bootstrap is a great CSS and Javascript framework. One of its brilliant features is the dropdown menu, which gets expanded when you click on it. In order to make it expand on mouse hover, you can just put this CSS inside your style sheet.

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

/* if you want to hide the arrow */, .dropdown-toggle:after {
content: none;



Passion is beyond limitation. If you’re passionate about ANYTHING, nobody can stop you not to do what you want. Blogging and Web Designing is my passion that don’t drive me to do what I want but push me as well to share fanatical stuff with people.

Write A Comment