.item{
max-height: 0;
transition: all .3 ease-out;
}
.item:hover{
max-height: 999px; 设置一个临界值
}
绝对定位高度过渡动画
最新推荐文章于 2024-07-26 08:00:00 发布
.item{
max-height: 0;
transition: all .3 ease-out;
}
.item:hover{
max-height: 999px; 设置一个临界值
}