components: Honour 'prefers reduced motion' setting in many components
This helps accessibility for motion-sensitive people such as myself, and can improve battery life in "battery saving" mode on most devices
This commit is contained in:
parent
af97dd7484
commit
51ebe643d5
6 changed files with 22 additions and 0 deletions
|
@ -17,6 +17,9 @@
|
|||
|
||||
.emoji:hover {
|
||||
transform: scale(1.4);
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
transition: unset;
|
||||
}
|
||||
transition: 0.05s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue