From 59fb17bbee5d6f5165782ec01ea3c3816cd8f679 Mon Sep 17 00:00:00 2001 From: 1776123 <50336512+1776123@users.noreply.github.com> Date: Fri, 3 Jul 2020 18:44:58 -0400 Subject: [PATCH] im still working on it, dropdown menu for signup --- css/styles.css | 34 ++++++++++++++++++++++++++++++++++ index.html | 11 +++++++++-- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 7589859..7041fd4 100644 --- a/css/styles.css +++ b/css/styles.css @@ -255,3 +255,37 @@ p { .sidenav {padding-top: 15px;} .sidenav a {font-size: 18px;} } + +.dropbtn +{ + background-color: #070707; + color: #fff; + border:none; +} +.dropdown +{ + position: relative; + display:inline-block; +} +.dropdown-content +{ + display: none; + position:absolute; + background-color: #233067; + min-width: 160px; + box-shadow: 0px 8px 16px 0px 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;} + +/* 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;} diff --git a/index.html b/index.html index 7dfd4c9..671fd8e 100644 --- a/index.html +++ b/index.html @@ -33,11 +33,18 @@