In this article, you will learn How to Create Dropdown with hover.dropdown.html<html> <head> <title>Dropdown List using Hover</title> <link rel="stylesheet" href="style.css"/> </head> <body> <div class="dropdown"> <span>Mouse over me</span> <div class="dropdown-content"> <p>Hello World!</p> </div> </div> </body> </html>style.css.dropdown { …
In this article, you will learn How to Create Dropdown with hover.
dropdown.html
<html> <head> <title>Dropdown List using Hover</title> <link rel="stylesheet" href="style.css"/> </head> <body> <div class="dropdown"> <span>Mouse over me</span> <div class="dropdown-content"> <p>Hello World!</p> </div> </div> </body> </html>
style.css
.dropdown {