First, create an HTML file with the name of index.html and paste the given codes in your HTML file. Step 5: Now we have to add another class for defining the color and size of a text in the drop-down menu. Step 8: And, at last, we have to save the Html file and then run the file in the browser. You can pick colors from our Color Picker tool. Navigate to the File Manager from your hPanel dashboard and generate a new file called menu.html inside the public_html directory. The :hover selector is used to show the dropdown menu when the user moves the As we have seen on the tutorial, first our sidebar is close and we can see an icon of navigation but when I did . This creates the dropdown menu itself. Tip: Go to our CSS Navbar Tutorial to learn more about Learn how to create a dropdown navigation bar. First, create a div and add the class dropdown to it. I have an existing HTML menu which I need to add further navigation to. Get certifiedby completinga course today! The element. Heres the HTML: . If the drop down menu items are larger than one another this piece of code makes a gap between the drop down menu and the more items menu. a