Skip to content

Commit

Permalink
add prefers-reduced-motion media query to Featured Image of UCSC Qu…
Browse files Browse the repository at this point in the history
…ery Card #340
  • Loading branch information
Herm71 committed Jun 27, 2024
1 parent 767e255 commit 79fadd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scss/block-patterns/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@

img {
transform: scale(1.15);

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

0 comments on commit 79fadd5

Please sign in to comment.