Skip to content

Commit 924c6f2

Browse files
committed
chore: respect prefers-reduced-motion for the bouncing hero emoji
1 parent d12ea73 commit 924c6f2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/pages/vacations.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,12 @@ const stats = {
300300
animation: bounce 3s infinite;
301301
}
302302
303+
@media (prefers-reduced-motion: reduce) {
304+
.animate-bounce-slow {
305+
animation: none;
306+
}
307+
}
308+
303309
@keyframes bounce {
304310
0%,
305311
100% {

0 commit comments

Comments
 (0)