mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[Improvement] Collapse: add transition animation (#1500)
This commit is contained in:
@@ -12,6 +12,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
&__wrapper {
|
||||
overflow: hidden;
|
||||
will-change: height;
|
||||
transition: height .3s ease-in-out;
|
||||
}
|
||||
|
||||
&__content {
|
||||
padding: 15px;
|
||||
background-color: #fff;
|
||||
|
Reference in New Issue
Block a user