cyp/app/css/nav.less

20 lines
243 B
Text
Raw Normal View History

2019-03-21 17:32:58 +08:00
nav ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: row;
li {
text-align: center;
2019-03-26 19:35:47 +08:00
flex: 1 0 0;
2019-03-21 17:32:58 +08:00
line-height: 40px;
&:hover { background-color:red;}
2019-03-22 22:35:04 +08:00
&.active {
background-color: green;
}
2019-03-21 17:32:58 +08:00
}
}