This commit is contained in:
Fred Boniface 2022-10-05 20:47:24 +01:00
parent 3c371ebfa6
commit 265f3c4564
2 changed files with 5 additions and 5 deletions

View File

@ -3,8 +3,8 @@
echo '<div class="dropdown">';
echo ' <button onclick="myFunction()" class="dropbtn">Menu</button>';
echo ' <div id="myDropdown" class="dropdown-content">';
echo ' <a href="/">Home</a>';
echo ' <a class="dropdown-first" href="/">Home</a>';
echo ' <a href="/issue.php">Report Issue</a>';
echo ' <a class="dropdown-last" href="/help.php">Help</a>';
echo ' <a href="/help.php">Help</a>';
echo ' </div>';
echo '</div>';

View File

@ -159,12 +159,12 @@ body {
padding: 12px 16px;
text-decoration: none;
display: block;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
/*Final item of the dropdown has bottom border*/
.dropdown-last {
border-bottom: 1px solid black;
.dropdown-first {
border-top: 1px solid black;
}
/* Change color of dropdown links on hover */