1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/less/component-animations.less

28 lines
475 B
Text
Raw Normal View History

2012-06-29 00:46:45 -04:00
//
// Component animations
// --------------------------------------------------
// Heads up!
//
// We don't use the `.opacity()` mixin here since it causes a bug with text
// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
.fade {
2012-05-20 20:56:57 -04:00
opacity: 0;
2012-04-16 19:34:08 -04:00
.transition(opacity .15s linear);
&.in {
2012-05-20 20:56:57 -04:00
opacity: 1;
}
}
.collapse {
position: relative;
height: 0;
overflow: hidden;
2012-04-16 19:34:08 -04:00
.transition(height .35s ease);
&.in {
height: auto;
}
2012-05-20 20:56:57 -04:00
}