odin-css-exercises/animation/03-dropdown-menu/style.css

32 lines
450 B
CSS

.dropdown-container {
max-width: 250px;
margin: 40px auto;
text-align: center;
line-height: 50px;
font-size: 15px;
color: rgb(247, 247, 247);
cursor: pointer;
}
.menu-title {
background-color: rgb(163, 162, 162);
}
.dropdown-menu {
list-style: none;
padding: 0;
margin: 0;
background-color: rgb(99, 97, 97);
display: none;
}
ul.dropdown-menu li:hover {
background: rgb(47, 46, 46);
}
.visible {
display: block;
}