Skip to content

Commit

Permalink
reduced motion
Browse files Browse the repository at this point in the history
  • Loading branch information
iamawatermelo committed Sep 12, 2024
1 parent 1488907 commit c803699
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,13 @@
animation: header 1s calc(var(--idx) * 0.05s) forwards;
}
@media (prefers-reduced-motion) {
h1 .header-element {
font-variation-settings: "wght" 700;
animation: none;
}
}
h1 .no-break {
display: inline-block;
min-width: max-content;
Expand Down

0 comments on commit c803699

Please sign in to comment.