1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 14:54:27 +02:00

Rename _animation.scss to _transitions.scss (#21370)

* Rename _animation.scss to _transitions.scss for accuracy

* fix docs reference to file name

* cleanup line breaks
This commit is contained in:
Mark Otto
2016-12-19 21:37:09 -08:00
committed by GitHub
parent a8b3e09f22
commit 7e5f21c2b4
3 changed files with 2 additions and 4 deletions

34
scss/_transitions.scss Normal file
View File

@@ -0,0 +1,34 @@
.fade {
opacity: 0;
@include transition($transition-fade);
&.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;
@include transition($transition-collapse);
}