2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

new plugin "collapse" for collapsible lists and "accordion" like support

This commit is contained in:
Jacob Thornton
2011-11-25 17:23:14 -08:00
parent 96adf8f918
commit 98fddaa355
6 changed files with 322 additions and 31 deletions
+15 -8
View File
@@ -631,14 +631,6 @@ input[type=submit].btn {
}
// PATTERN ANIMATIONS
// ------------------
@@ -650,6 +642,21 @@ input[type=submit].btn {
}
}
.collapse {
position:relative;
overflow:hidden;
&.height {
.transition(height .35s ease);
height: 0;
&.in { height: auto; }
}
&.width {
.transition(width .35s ease);
width: 0;
&.in { width: auto; }
}
}
// LABELS
// ------