CSS Media Query Syntax Checker - Online Validator
Paste a media query and instantly check for syntax errors. See if it's correctly formed. Quick developer tool.
UD5 Toolkit
Build responsive CSS media queries instantly. Choose media type, add conditions, and copy ready-to-use @media code.
min-width applies styles when the viewport is at least that width (mobile-first approach). max-width applies styles when the viewport is up to that width (desktop-first approach).only screen prefix.only keyword prevents older browsers that don't support media queries from applying the styles. It's a good practice for compatibility.min-resolution: 2dppx or -webkit-min-device-pixel-ratio: 2. Click the "Retina" preset to generate one instantly.and. For example: @media screen and (min-width: 768px) and (orientation: landscape) { ... }Paste a media query and instantly check for syntax errors. See if it's correctly formed. Quick developer tool.
Paste media queries and see a visual indicator of which rules apply at current viewport size.
Write a media query and see if it matches as you resize the iframe. Understand width, height, and resolution queries.
Write a media query and instantly see if it matches your current viewport. Width, height, orientation, and more.
Test the new style() function inside @container to query custom property values. Revolutionary component‑based responsive design.
Paste image URLs and generate a responsive masonry or justified gallery layout with lightbox. Copy the HTML/CSS/JS.
Experiment with CSS container queries in a live editor. Resize the container and see styles change based on its width/height. Learn modern responsive.
Experiment with the CSS color-mix() function. Pick two colors and mix them in different color spaces (srgb, oklch). Copy the CSS.
Upload an image at multiple widths and generate a complete <picture> or <img srcset> snippet. Modern web performance.
Upload multiple sizes of the same image and generate the complete srcset and sizes attributes. For perfect responsive performance.
Enter a router's MAC address or serial and generate the common default WPA passphrase for major ISP brands. Educational purpose only.
Design a layout where nested grids share track sizes with their parent via subgrid. Copy the complete CSS.
Pick colors for the shadcn/ui design system and generate the complete CSS variable theme file. Copy into your project.
Paste your CSS and see warnings for properties that have limited browser support. Links to CanIUse. Modernize safely.
Format a list of Q&A pairs and export as a CSV ready for Anki import. Simple line‑based template. Local.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Generate a random medieval occupation with a short description. For NPCs or historical curiosity. Local list.
Generate a hardboiled film noir plot with a detective, a dame, and a McGuffin. Great for creative writing prompts.
Generate a grand, aristocratic title like 'Duke of Waffleshire'. Perfect for silly fun or RPG characters. Local.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Generate a realistic‑sounding dinosaur name and see a fun description. Perfect for kids and writers.
Generate a subtle noise/grain texture as a CSS background pattern. Adjust opacity and size. For that film look.
Generate random but realistic‑looking data arrays (users, products, orders) with typos and missing fields. For test robustness.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Fill in a few details and get a polished resignation letter. No data stored. Instant copy or print.
Paste plain text and turn it into a nested outline using indent levels or Markdown headings. Great for planning.
Upload a small pixel art image and get a CSS grid layout that recreates it using divs. Novelty developer tool.
Convert short text into a black‑and‑white Braille bump image ready for embossing. Educational and inclusive.