100% Free — No Login Required
Build CSS Media Queries
Without Memorising Syntax
Select breakpoint presets or set custom ranges, add orientation or print conditions, and get clean, copy-ready CSS media query code instantly — all in your browser.
📱
Breakpoint Presets
One-click presets for common breakpoints — mobile (480 px), tablet (768 px), laptop (1024 px), desktop (1280 px), and wide (1536 px).
🎛️
Custom Ranges
Fine-tune min-width, max-width, or both. Combine with orientation (portrait / landscape), print media, and @supports feature queries.
⚡
Instant Code Output
Get clean, formatted CSS output with a live preview that updates as you change settings. Copy to clipboard in one click.
Breakpoint Presets
Conditions
@supports Feature Query (optional)
Live PreviewTablet preset · ≥ 768px · ≤ 1023px
style.css
@media screen and (min-width: 768px) and
(max-width: 1023px) {
/* your styles here */
}Quick Reference
Mobile first
@media (min-width: 768px)Desktop first
@media (max-width: 767px)Range query
(min-width: 768px) and
(max-width: 1023px)Retina screens
@media (min-resolution: 2dppx)Common Breakpoints
Mobile portrait
< 480pxMobile landscape
≥ 480pxTablet portrait
≥ 768pxLaptop
≥ 1024pxDesktop
≥ 1280pxWide screen
≥ 1536pxFrequently Asked Questions
Everything you need to know about CSS Media Query Generator.