HTML
CSS
JS

Dropdown Menu with Onclick Effect

This is a menu button that will show the dropdown menu when clicked. Each of the child menu has a hover effect, so you know which menu you are currently hovering over.

If you want to show the dropdown menu on hover, you can add this to CSS line 35. .btn:hover .dropdown

';