Generate responsive CSS media queries for any screen size.
Media Query Generator builds CSS @media rules for specific screen widths or device breakpoints, so you don't have to memorize the exact syntax for min-width, max-width, and orientation queries. Set your target breakpoint and it outputs ready-to-use CSS you can paste straight into your stylesheet. It runs entirely in your browser and is aimed at anyone hand-coding responsive layouts.
Made for everyone. Typical uses:
Explore more in Generators, read the guides and articles, or see how we test our tools.
Generate CSS Grid layouts visually.
Best for building a responsive grid layout without memorizing grid-template syntax
Generate CSS border radius with live preview.
Best for matching a design mockup's exact corner rounding on a card or button component
Generate CSS box shadow effects with a visual editor.
Best for adding a subtle drop shadow to a card component to lift it off the page
Create beautiful CSS gradients with live preview.
Best for creating website backgrounds and buttons
Generate CSS animations with a visual editor.
Best for building a hover animation for a button without hand-writing keyframe percentages