prefersācolorāscheme Live Preview - Online Dark/Light
Toggle between light and dark mode for a demo page. See how to use the media query. Copy the pattern.
UD5 Toolkit
Toggle between light and dark mode for a demo page. See how to use the media query. Copy the pattern.
Write a media query and see if it matches as you resize the iframe. Understand width, height, and resolution queries.
Paste media queries and see a visual indicator of which rules apply at current viewport size.
Write a media query and instantly see if it matches your current viewport. Width, height, orientation, and more.
Force more or less contrast and see how your page adapts. Test your CSS media queries for accessibility.
Build a CSS media query by selecting feature, operator, and value. Copy the exact syntax for your stylesheet.
Paste a media query and instantly check for syntax errors. See if it's correctly formed. Quick developer tool.
Simulate reduced motion preference and test your animations. Copy the media query snippet. Keep your users safe.