CSS Container Query Tester - Online @container Playground
Experiment with CSS container queries. Resize a container and see the styles change according to its size, not the viewport. Learn the new spec.
UD5 Toolkit
Drag the slider to test how your website looks at any viewport width. Preview responsiveness in real-time.
| Device | Width (px) | Height (px) | Category |
|---|---|---|---|
| iPhone SE | 320 | 568 | Mobile |
| iPhone 14 | 375 | 812 | Mobile |
| iPhone 14 Pro | 390 | 844 | Mobile |
| iPhone 11 / XR | 414 | 896 | Mobile |
| iPhone 14 Pro Max | 430 | 932 | Mobile |
| iPad Mini | 768 | 1024 | Tablet |
| iPad Pro 11" | 834 | 1194 | Tablet |
| iPad Pro 12.9" | 1024 | 1366 | Tablet |
| Laptop (1366Ă768) | 1366 | 768 | Desktop |
| Desktop (1920Ă1080) | 1920 | 1080 | Desktop |
min-width media query, meaning styles apply at that width and above (mobile-first). Use our Bootstrap preset buttons to test exactly at these threshold values.
/* Mobile */ @media (max-width: 767px) { ... }/* Tablet */ @media (min-width: 768px) and (max-width: 1023px) { ... }/* Desktop */ @media (min-width: 1024px) { ... }min-width queries, adding styles progressively as the screen grows. Use this tester to validate your media queries at every threshold.
localhost on your dev machine and access it from your phone on the same Wi-Fi networkExperiment with CSS container queries. Resize a container and see the styles change according to its size, not the viewport. Learn the new spec.
Build the same layout with both Grid and Flexbox side by side. See the code differences and visual results.
Experiment with scrollâstate container queries to style elements when they are stuck, snapped, or overflowed. Experimental.
Add grid items beyond defined tracks and see how implicit rows/columns expand. Set sizes interactively. Master the grid.
Dynamically blend two colors using the CSS colorâmix() function in different color spaces. Copy the exact CSS snippet. No JS required.
Use wrapâperâinch (WPI) to identify mystery yarn and see equivalent standard weights (fingering, worsted). Compensate gauge.
Enter your bag dimensions and compare against major airline carry-on and checked limits. Visual pass/fail gauge. Avoid gate fees.
A replica of the famous Flexbox Froggy game: solve alignment puzzles by writing CSS. Progress saved locally. Fun frontend learning.
Virtually fold a digital paper and cut out shapes to see a snowflake unfold. Experiment with designs before real scissors. Pure creative fun.
See every HTML input type in one page. Check browser support and styling. Copy sample markup. Quick frontend reference.
Use the lightâdark() CSS function to change colors based on color scheme. Build a simple dark mode toggle with one property.
Set a custom accent color for checkboxes, radios, range, and progress. See the browserâs rendering. Copy the CSS.
Set the number of lines and generate the CSS for multiâline truncation using the standard lineâclamp and fallback. Quick copy.
Simulate the 7âbag randomizer to see upcoming piece sequences. Practice your opening for competitive Tetris.
Enter a component name and generate a complete RTL test file with render, screen, and common assertions. Fast testing setup.
Use named grid lines instead of column numbers. See how they simplify placement. Visual, interactive learning.
Test if your display supports HDR colors by rendering a gradient in Rec.2020 space. See what you're missing. Canvas based.
Style the <progress> and <meter> elements with crossâbrowser CSS. Adjust colors and sizes. Copy the final styles.
Randomly picks a specific aspect to focus on (naming, security, performance) during code review. Sharpen reviews.
Match gap size around doors/windows to the correct type of weather stripping (foam, V-strip, door sweep). Save energy.
Enter a palette of colors and see a grid showing whether each foreground/background pair passes AA or AAA contrast. Must for designers.
Style an `<input type='range'>` with custom track and thumb. Crossâbrowser CSS. Preview and copy the code.
Paste an HTML `<table>` snippet and instantly get a clean Markdown table. Supports colspan and alignment hints. Local.
Test the upcoming contrastâcolor() CSS function. Get white or black automatically for a given background. See it live.
Paste body text and test different font/background combos. See an actual passage rendered, not just a ratio. True feel for legibility.
Enter a color palette and see how it looks for different types of color vision deficiency. Get warnings on conflicting colors.
Generate a range of tints and shades from a single hex color. Ideal for data visualization, UI design systems, and Tailwind custom palette creation. Local tool.
Write modern CSS color functions like oklch(), lab(), hwb() and see the rendered color with fallback. Copy compatible code.
Use the browser's native eyedropper tool to pick any color from the screen. Shows zoomed preview. Quick and easy.
Fetch a website's CSS and extract :root custom properties (ââcolor) to reveal its design token palette. For learning and inspiration.