fix: Improved reduced motion
This commit is contained in:
parent
d59cd80df1
commit
bae8bff2d4
2 changed files with 36 additions and 24 deletions
|
|
@ -44,6 +44,12 @@ function getTemplate() {
|
|||
transform: translateX(25%);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.marquee-content {
|
||||
animation-play-state: paused;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="marquee-wrapper">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue