ezgif.com-optimize.gif
html结构
内容
css样式
.topNav {
height: 41rem / $model;
background: #fff;
display: flex;
flex-flow:row nowrap;
overflow: scroll;
ul {
display: inline-block;
white-space: nowrap;
li {
display: inline-block;
line-height: 41rem / $model;
font-size: $fontS1;
padding: 0 10px;
&:first-child {
}
&:last-child {
}
&.current {
position: relative;
color: #66cc66;
&:after {
content: '';
height: 4px;
width: 30%;
border-ra