.menu {
display: flex;
flex-direction: column;
gap: 2px;
background-color: #f5f5f5;
padding: 10px;
padding-top: 40px;
border-radius: 5px;
}
.menu a {
display: flex;
justify-content: space-between;
align-items: center;
text-decoration: none;
color: #333;
padding: 8px 12px;
font-size: 14px;
font-weight: 500;
}
.menu a:hover {
background-color: #e0e0e0;
color: #000;
}
.menu a::after {
content: '→';
font-size: 14px;
color: #333;
transition: color 0.3s;
}
.menu a:hover::after {
color: #000;
}
@media (max-width: 768px) {
.menu {
gap: 2px;
}
.menu a {
font-size: 14px;
padding: 6px 10px;
}
}
0 Komentar