/
githubmirror
/
animate.css
Обзор
Документация
Войти
/
githubmirror
/
animate.css
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
3.7.0
source/_base.css
51 строка
682 B
Marcy Sutton
Add support for prefers-reduced-motion media query (#832)
24 июл 2018, 01:44
24 июл 2018, 01:44
940e4ae
Код
Авторство
О чём код?
.animated { animation-duration: 1s; animation-fill-mode: both; } .animated.infinite { animation-iteration-count: infinite; } .animated.delay-1s { animation-delay: 1s; } .animated.delay-2s { animation-delay: 2s; } .animated.delay-3s { animation-delay: 3s; } .animated.delay-4s { animation-delay: 4s; } .animated.delay-5s { animation-delay: 5s; } .animated.fast { animation-duration: 800ms; } .animated.faster { animation-duration: 500ms; } .animated.slow { animation-duration: 2s; } .animated.slower { animation-duration: 3s; } @media (prefers-reduced-motion) { .animated { animation: unset !important; transition: none !important; } }