File: _transitions.scss

package info (click to toggle)
bootstrap-html 5.2.3%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 11,436 kB
  • sloc: javascript: 17,668; makefile: 38; xml: 12
file content (27 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (12)
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
.fade {
  @include transition($transition-fade);

  &:not(.show) {
    opacity: 0;
  }
}

// scss-docs-start collapse-classes
.collapse {
  &:not(.show) {
    display: none;
  }
}

.collapsing {
  height: 0;
  overflow: hidden;
  @include transition($transition-collapse);

  &.collapse-horizontal {
    width: 0;
    height: auto;
    @include transition($transition-collapse-width);
  }
}
// scss-docs-end collapse-classes