Skip to main content

Practice · 1 of 1

Motion That Respects Preferences

CHALLENGE
Difficulty: intermediate+25 XP

Give .panel a transform-based open/close transition (transform 0.25s), then add a prefers-reduced-motion: reduce block that effectively disables animation and transition durations globally.

Back to lesson: Practice: Motion — Practice