Tutorial : Create Dropdown Menu Using Materialize CSS
Download HTML File : Dropdown Menu in Navbar Menu We already learnt how to create mobile friendly menu in Previous Tutorial . But There is no dropdown menu. So in this tutorial we learn to create a dropdown menu. Now you all learnt to adding a CSS, JS and JQuery files. So i start directly to making dropdown menu in NavBar. First Make Navbar Menu. Responsive Navbar Menu . Create Dropdown menu content using ul tag and you must use id tag.Put it before nav tag. <ul class= "dropdown-content" id= "comp-menu3" > <li><a href= "#" > Sub-Menu1 </a></li> <li><a href= "#" > Sub-Menu2 </a></li> <li><a href= "#" > Sub-Menu3 </a></li> </ul> Use id of Dropdown as data-activates property to menu link which going to display submenu. Apply dropdown-button as a class to menu link. <li><a href= "#" data-activ...
Comments
Post a Comment