Difference between revisions of "Template:Manchester/Navbar"

Line 108: Line 108:
 
.dropdown:hover .dropdown-content {
 
.dropdown:hover .dropdown-content {
 
     display: block;
 
     display: block;
 +
}
 +
 +
/* Change the background color of the dropdown button when the dropdown content is shown */
 +
.dropdown:hover .dropbtn {
 +
    background-color: #d9d9d9;
 +
}
 +
 +
ul {
 +
    list-style-type: none;
 +
    margin: 0;
 +
    padding: 0;
 +
    overflow: hidden;
 +
    border: 1px solid #e7e7e7;
 +
    background-color: #f2f2f2;
 
}
 
}
 
</style>
 
</style>

Revision as of 12:30, 20 August 2018