aboutsummaryrefslogtreecommitdiff
path: root/less/component-animations.less
blob: b25adc932ad79d28851e4923b58e76e39ddbcd91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// Component animations
// --------------------------------------------------


.fade {
  opacity: 0;
  .transition(opacity .15s linear);
  &.in {
    opacity: 1;
  }
}

/*.collapse {
  position: relative;
  height: 0;
  overflow: hidden;
  .transition(height .35s ease);
  &.in {
    height: auto;
  }
}*/

.collapse {
  position: relative;
  height: 0;
  overflow: hidden;
  .transition(height .35s ease);
}
.collapse.in {
  height: auto;
}