0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-11 03:52:27 +01:00
Bootstrap/less/component-animations.less

32 lines
585 B
Plaintext
Raw Normal View History

2012-06-28 21:46:45 -07:00
//
// Component animations
// --------------------------------------------------
// Heads up!
//
// We don't use the `.opacity()` mixin here since it causes a bug with text
2014-02-25 10:17:44 -08:00
// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
.fade {
2012-05-21 02:56:57 +02:00
opacity: 0;
2012-04-16 16:34:08 -07:00
.transition(opacity .15s linear);
&.in {
2012-05-21 02:56:57 +02:00
opacity: 1;
}
}
.collapse {
display: none;
&.in { display: block; }
tr&.in { display: table-row; }
tbody&.in { display: table-row-group; }
}
.collapsing {
position: relative;
height: 0;
overflow: hidden;
2012-04-16 16:34:08 -07:00
.transition(height .35s ease);
2012-05-21 02:56:57 +02:00
}