Complete the code to apply Bootstrap's reduced motion utility class to disable animations.
<div class="[1]">Content with reduced motion</div>
The motion-reduce class in Bootstrap applies styles to reduce motion for users who prefer less animation.
Complete the CSS media query to detect if the user prefers reduced motion.
@media (prefers-[1]: reduce) {
.animated-element {
animation: none !important;
}
}The CSS media feature prefers-motion detects if the user prefers reduced motion.
Fix the error in the Bootstrap class to properly disable animations for reduced motion users.
<div class="[1]">No animation here</div>
The correct Bootstrap class to disable animations respecting reduced motion is motion-reduce.
Fill both blanks to create a CSS rule that disables transitions when the user prefers reduced motion.
@media (prefers-[1]: reduce) { .btn [2] { transition: none !important; } }
The media query uses prefers-motion to detect reduced motion preference, and the :hover pseudo-class targets button hover states to disable transitions.
Fill all three blanks to create a Bootstrap utility class that disables animations on elements when reduced motion is preferred.
.[1] { @media (prefers-[2]: reduce) { animation-[3]: none !important; } }
The class no-animation is a custom utility name, the media feature is motion, and the CSS property to disable animation time is animation-duration.
