1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 01:42:36 +02:00

change how collapse works - collapse, collapsing, and in

This commit is contained in:
fat
2013-07-26 20:34:39 -07:00
parent 178d8e98de
commit e2d4cf5f68
8 changed files with 108 additions and 80 deletions

View File

@@ -16,12 +16,14 @@
}
.collapse {
display: none;
&.in {
display: block;
}
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
.transition(height .35s ease);
&.in {
height: auto;
}
}