- needed to position the dropdown content */
.dropdown {
position: relative;
- display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
@@ -98,12 +92,15 @@ font-family: 'Questrial', sans-serif;
display: block;
}
- /* Change color of dropdown links on hover */
- .dropdown-content a:hover {background-color: #ddd}
-
- /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
- .show {display:block;}
+/* Change color of dropdown links on hover */
+.dropdown-content a:hover {background-color: #ddd;}
+
+/* Show the dropdown menu on hover */
+.dropdown:hover .dropdown-content {display: block;}
+
+/* Change the background color of the dropdown button when the dropdown content is shown */
+.dropdown:hover .dropbtn {background-color: #3e8e41;}
/* ===================================
listings grid
diff --git a/express/index.html b/express/index.html
index 427a614..f84c7a2 100644
--- a/express/index.html
+++ b/express/index.html
@@ -15,13 +15,16 @@