From 4547485c89790c3418f67416b7f9d0a8693acf0f Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 3 Jan 2024 19:58:34 -0800 Subject: [PATCH] Update index.html --- index.html | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 39ced60..acfc7a8 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ color: #555; } - button { + button, .dropdown-btn { background-color: #4caf50; color: white; padding: 10px 20px; @@ -32,11 +32,36 @@ border-radius: 5px; margin: 10px; text-decoration: none; + display: inline-block; } - button:hover { + button:hover, .dropdown-btn:hover { background-color: #45a049; } + + .dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0 8px 16px rgba(0,0,0,0.2); + z-index: 1; + } + + .dropdown-content a { + color: black; + padding: 12px 16px; + text-decoration: none; + display: block; + } + + .dropdown-content a:hover { + background-color: #ddd; + } + + .dropdown-btn:hover .dropdown-content { + display: block; + } @@ -44,5 +69,13 @@

Pick a Client:

+ +