diff options
| author | Max | 2018-10-15 23:46:42 +0200 |
|---|---|---|
| committer | Max | 2018-10-15 23:46:42 +0200 |
| commit | 00c9709fd9763542e848f6278db8ba26af5c9886 (patch) | |
| tree | 92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /src/sass/bootstrap4/mixins/_transition.scss | |
| download | fuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz | |
Initial commit.
Diffstat (limited to 'src/sass/bootstrap4/mixins/_transition.scss')
| -rw-r--r-- | src/sass/bootstrap4/mixins/_transition.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sass/bootstrap4/mixins/_transition.scss b/src/sass/bootstrap4/mixins/_transition.scss new file mode 100644 index 0000000..f853821 --- /dev/null +++ b/src/sass/bootstrap4/mixins/_transition.scss @@ -0,0 +1,13 @@ +@mixin transition($transition...) { + @if $enable-transitions { + @if length($transition) == 0 { + transition: $transition-base; + } @else { + transition: $transition; + } + } + + @media screen and (prefers-reduced-motion: reduce) { + transition: none; + } +} |
