li{
.subnav{
display: flex;
flex-direction: column;
transition:height 2s;//这个高度什么不生效
padding: 10px 0;
height: 0;
overflow: hidden;
}
}
#navmenu li:hover .subnav{
height: auto;
}