Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_transition.scss « mixins « bootstrap « css « assets - github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8ce35a6b836cb212af9cc5045796fcc0adce419b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// stylelint-disable property-blacklist
@mixin transition($transition...) {
  @if $enable-transitions {
    @if length($transition) == 0 {
      transition: $transition-base;
    } @else {
      transition: $transition;
    }
  }

  @if $enable-prefers-reduced-motion-media-query {
    @media (prefers-reduced-motion: reduce) {
      transition: none;
    }
  }
}