Skip to content

Commit

Permalink
remove: prefers-reduced-motion: reduce
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro0218 committed May 10, 2023
1 parent d6e21da commit ce1299c
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions src/shokika.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,18 @@
-webkit-appearance: none;
}

:where([tabindex]:not([tabindex*='-']), a[href], button, [type='button'], [type='reset'], [type='submit'], [role='button'], label, select, summary) {
:where(
[tabindex]:not([tabindex*='-']),
a[href],
button,
[type='button'],
[type='reset'],
[type='submit'],
[role='button'],
label,
select,
summary
) {
cursor: pointer;
}

Expand All @@ -132,17 +143,3 @@
:where([aria-disabled='true' i], [disabled]) {
cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
*,
::before,
::after {
transition-duration: 1ms !important;
transition-delay: 0s !important;
animation-duration: 1ms !important;
animation-delay: -1ms !important;
animation-iteration-count: 1 !important;
background-attachment: initial !important;
scroll-behavior: auto !important;
}
}

0 comments on commit ce1299c

Please sign in to comment.