0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/scss/_animation.scss

43 lines
529 B
SCSS

.fade {
opacity: 0;
@if $enable-transitions {
transition: opacity .15s linear;
}
&.active {
opacity: 1;
}
}
.collapse {
display: none;
&.active {
display: block;
}
}
tr {
&.collapse.active {
display: table-row;
}
}
tbody {
&.collapse.active {
display: table-row-group;
}
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
@if $enable-transitions {
transition-timing-function: ease;
transition-duration: .35s;
transition-property: height;
}
}