mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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
3 changed files with 2 additions and 4 deletions
|
@ -104,7 +104,7 @@ The collapse plugin utilizes a few classes to handle the heavy lifting:
|
|||
- `.collapse.active` shows the content
|
||||
- `.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
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
.fade {
|
||||
opacity: 0;
|
||||
|
||||
@include transition($transition-fade);
|
||||
|
||||
&.active {
|
||||
|
@ -31,6 +30,5 @@ tbody {
|
|||
position: relative;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
|
||||
@include transition($transition-collapse);
|
||||
}
|
2
scss/bootstrap.scss
vendored
2
scss/bootstrap.scss
vendored
|
@ -25,7 +25,7 @@
|
|||
@import "buttons";
|
||||
|
||||
// Components
|
||||
@import "animation";
|
||||
@import "transitions";
|
||||
@import "dropdown";
|
||||
@import "button-group";
|
||||
@import "input-group";
|
||||
|
|
Loading…
Add table
Reference in a new issue