Difference between revisions of "User:Daravae/DropdownTest2"

From SpeedSouls
Jump to navigation Jump to search
(Created page with "<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .dropbtn { background-image: url("images/4/41/Submit_A_Run_Button.png") bord...")
 
m (Hantz moved page DarK/DropdownTest2 to Daravae/DropdownTest2: Automatically moved page while renaming the user "DarK" to "Daravae")
 
(No difference)

Latest revision as of 17:01, 14 February 2019

<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .dropbtn {

   background-image: url("images/4/41/Submit_A_Run_Button.png")
   border: none;
   display: inline-block;

}

.dropdown {

   position: relative;
   display: inline-block;

}

.dropdown-content {

   display: none;
   position: absolute;
   background-color: #f1f1f1;
   min-width: 120px;
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   z-index: 1;

}

.dropdown-content a {

   color: black;
   padding: 8px 20px;
   text-decoration: none;
   display: block;

}

.dropdown-content a:hover {

   background-color: #ddd

}

.dropdown:hover .dropdown-content {

   display: block;

}

.dropdown:hover .dropbtn {

   background-image: url("images/1/1c/Submit_A_Run_Button_BW.png")
   border: none;

} </style> </head> <body>

</body> </html>