mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01: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:
parent
a8b3e09f22
commit
7e5f21c2b4
@ -104,7 +104,7 @@ The collapse plugin utilizes a few classes to handle the heavy lifting:
|
|||||||
- `.collapse.active` shows the content
|
- `.collapse.active` shows the content
|
||||||
- `.collapsing` is added when the transition starts, and removed when it finishes
|
- `.collapsing` is added when the transition starts, and removed when it finishes
|
||||||
|
|
||||||
These classes can be found in `_animation.scss`.
|
These classes can be found in `_transitions.scss`.
|
||||||
|
|
||||||
### Via data attributes
|
### Via data attributes
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
.fade {
|
.fade {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
|
||||||
@include transition($transition-fade);
|
@include transition($transition-fade);
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
@ -31,6 +30,5 @@ tbody {
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
@include transition($transition-collapse);
|
@include transition($transition-collapse);
|
||||||
}
|
}
|
2
scss/bootstrap.scss
vendored
2
scss/bootstrap.scss
vendored
@ -25,7 +25,7 @@
|
|||||||
@import "buttons";
|
@import "buttons";
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
@import "animation";
|
@import "transitions";
|
||||||
@import "dropdown";
|
@import "dropdown";
|
||||||
@import "button-group";
|
@import "button-group";
|
||||||
@import "input-group";
|
@import "input-group";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user