css.nav_item::after {
content: "";
width: 0;
height: 1px;
background: #000;
position: absolute;
top: 100%;
left: 50%;
transition: all 0.5s;
}
.nav_item:hover::after {
left: 0;
width: 100%;
}
本文作者:mereith
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!