摘要: 方法1 max-height,高度不一致,时间不自然 方法2 clip-path:inset,支持transition,缺点,会占据空间,需设置绝对定位来清除空间 .content { ... height: auto; clip-path: inset(0 0 100% 0); } .fold:h 阅读全文
posted @ 2023-07-28 15:16 全玉 阅读(153) 评论(0) 推荐(0) 编辑