Actual widget output
Interactive CSS utility

Generate a media query.

Choose a supported media feature and value, then press Generate query. This live example runs the actual widget script and produces CSS text in your browser.

Example developer tool

Generate a media query

Use the reduced-motion example

Generate a CSS media query

Result

Default reduced-motion example; press Generate query to see the CSS text.