interfaces/topic_4/example1/style.css

20 lines
332 B
CSS

.menu-item {
font-size: 20px;
border: 2px solid #66CDAA;
display: inline-block;
position: relative;
cursor: pointer;
}
.menu-item .submenu {
width: 100px;
background: rgb(134, 173, 134);
position: absolute;
cursor: pointer;
display: none;
}
.menu-item .submenu.show {
display: block;
}