twbs--bootstrap/less/component-animations.less

33 lines
446 B
Plaintext
Raw Normal View History

2012-06-29 04:46:45 +00:00
//
// Component animations
// --------------------------------------------------
.fade {
2012-05-21 00:56:57 +00:00
opacity: 0;
2012-04-16 23:34:08 +00:00
.transition(opacity .15s linear);
&.in {
2012-05-21 00:56:57 +00:00
opacity: 1;
}
}
/*.collapse {
position: relative;
height: 0;
overflow: hidden;
2012-04-16 23:34:08 +00:00
.transition(height .35s ease);
&.in {
height: auto;
}
}*/
.collapse {
position: relative;
height: 0;
overflow: hidden;
.transition(height .35s ease);
}
.collapse.in {
height: auto;
2012-05-21 00:56:57 +00:00
}