Prev Demo
Dropdown Image
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title> </title> <style> .dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; background-color: white; min-width: 160px; } .dropdown:hover .dropdown-content { display: block; } </style> </head> <body> <h2>Dropdown Image</h2> <div class="dropdown"> <img src="http://techfunda.com/HTPictures/Generics/7-635930914589226199.png" /> <div class="dropdown-content"> <img src="http://techfunda.com/HTPictures/Generics/7-635930915343331412.png" /> </div> </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output