Skip to content

Commit

Permalink
Removing transiations and animation for progress bars and carousels
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRogers0 committed Feb 21, 2018
1 parent 233b658 commit 3682d53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scss/_carousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
opacity: 0;
transition-duration: .6s;
transition-property: opacity;

@media screen and (prefers-reduced-motion: reduce) {
transition: none;
}
}

.carousel-item.active,
Expand Down
4 changes: 4 additions & 0 deletions scss/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@

.progress-bar-animated {
animation: progress-bar-stripes $progress-bar-animation-timing;

@media screen and (prefers-reduced-motion: reduce) {
animation: none;
}
}

0 comments on commit 3682d53

Please sign in to comment.