[Improvement] Collapse: add transition animation (#1500)

This commit is contained in:
neverland
2018-07-17 21:33:55 +08:00
committed by GitHub
parent a99e73e07e
commit 9da3e0ce5a
4 changed files with 88 additions and 16 deletions

View File

@@ -12,6 +12,12 @@
}
}
&__wrapper {
overflow: hidden;
will-change: height;
transition: height .3s ease-in-out;
}
&__content {
padding: 15px;
background-color: #fff;