Media Query Generator

Generate responsive CSS media queries for different device sizes and orientations.

Media Query Settings

768px

Generated Media Query

@media screen and (min-width: 768px) { /* Your CSS rules here */ }
/* Example usage */ @media screen and (min-width: 768px) { body { font-size: 18px; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; } }
Mobile: 320px - 768px
Tablet: 768px - 1024px
Desktop: 1024px - 1440px
Large Desktop: 1440px+

© 2025 AnyCSS. All rights reserved.