_transitions.scss 311 Bytes
Newer Older
XhmikosR's avatar
XhmikosR committed
1
2
// stylelint-disable selector-no-qualifying-type

3
.fade {
4
  @include transition($transition-fade);
Mark Otto's avatar
Mark Otto committed
5

6
7
  &:not(.show) {
    opacity: 0;
8
9
10
  }
}

11
.collapse {
12
13
  &:not(.show) {
    display: none;
Matt Viteri's avatar
Matt Viteri committed
14
  }
15
}
16

17
.collapsing {
18
  position: relative;
19
  height: 0;
20
  overflow: hidden;
21
  @include transition($transition-collapse);
22
}