1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 08:10:47 +02:00

Add horizontal collapse support

This commit is contained in:
Mark Otto
2021-06-14 23:25:11 +03:00
committed by Mark Otto
parent 8bc89b273d
commit 359ed099e5
5 changed files with 33 additions and 2 deletions

View File

@@ -17,5 +17,11 @@
height: 0;
overflow: hidden;
@include transition($transition-collapse);
&.collapse-horizontal {
width: 0;
height: auto;
@include transition($transition-collapse-width);
}
}
// scss-docs-end collapse-classes