diff --git a/styles/style.css b/styles/style.css index f7a18e6..9a29b30 100644 --- a/styles/style.css +++ b/styles/style.css @@ -118,7 +118,7 @@ body { /* START MENU STYLE */ -/* Dropdown Button */ +/* Menu Button */ .dropbtn { position: fixed; top: 0; @@ -132,14 +132,13 @@ body { cursor: pointer; } -/* Dropdown button on hover & focus */ .dropbtn:hover, .dropbtn:focus { background-color: #0280e5; } /* The container
- needed to position the dropdown content */ .dropdown { - position: relative; + position: sticky; display: inline-block; }