0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/scss/_transitions.scss

37 lines
452 B
SCSS
Raw Normal View History

2017-10-03 05:34:56 +02:00
// stylelint-disable selector-no-qualifying-type
.fade {
2012-05-21 02:56:57 +02:00
opacity: 0;
@include transition($transition-fade);
2014-12-02 23:02:35 +01:00
2016-10-28 00:13:17 +02:00
&.show {
2012-05-21 02:56:57 +02:00
opacity: 1;
}
}
.collapse {
display: none;
2016-10-28 00:13:17 +02:00
&.show {
2014-12-02 23:02:35 +01:00
display: block;
}
2016-10-03 06:23:04 +02:00
}
tr {
2016-10-28 00:13:17 +02:00
&.collapse.show {
2016-10-03 06:23:04 +02:00
display: table-row;
}
}
tbody {
2016-10-28 00:13:17 +02:00
&.collapse.show {
2016-10-03 06:23:04 +02:00
display: table-row-group;
}
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
@include transition($transition-collapse);
2012-05-21 02:56:57 +02:00
}