EmpireUI
Get Pro
← Blog8 min read#devtools#css#browser

Browser DevTools for CSS in 2026: Features You're Probably Not Using

Chrome, Firefox, and Safari DevTools shipped major CSS features most devs ignore. Here's what's actually useful in 2026 and how to use it today.

developer inspecting CSS styles in browser DevTools on a dark screen

The Gap Between What DevTools Can Do and What You're Actually Using

Here's the thing — most developers still use the Elements panel like it's 2019. Click element, tweak a color, close DevTools. That's it. Meanwhile, Chrome 124 and Firefox 128 both shipped CSS features in DevTools that would genuinely cut your debugging time in half if you knew they were there.

Honestly, browser vendors have invested more in CSS tooling over the last two years than in the previous five combined. Grid visualization, @layer inspection, CSS nesting support, color space previews, container query debugging — it's all there. You just haven't looked.

This isn't a 'use DevTools more' think-piece. It's a list of specific, named features with specific workflows so you can actually start using them. If you're building anything visual — component libraries, glassmorphism components, design system tokens — half of these will immediately matter to you.

Worth noting: some features are Chrome-only, some are Firefox-only, and a few have landed in Safari's Web Inspector too. I'll flag which is which as we go.

CSS Grid and Flexbox Overlays That Don't Lie to You

The grid overlay in Chrome DevTools has been around since 2020, but most people click it once, see colored lines, and never configure it. That's a mistake. Open the Layout panel (Elements → Layout tab), and you'll find per-grid controls: show line names, show track sizes, extend grid lines beyond content, and show area names. Toggle all of them on once for a complex grid and you'll never go back.

Flexbox overlays got a meaningful update in Chrome 122. You can now see align-items, justify-content, and gap values visualized directly on the element — not just lines, but labeled arrows that match the actual CSS property direction. That 8px gap you're trying to figure out? It's rendered right there at the actual 8px scale.

Firefox has had the better flexbox inspector for years, though. In Firefox 128+, the Flexbox inspector in the Layout sidebar shows item shrink/grow factors per flex child and highlights which items are hitting their min/max-content size constraints. Chrome still doesn't have that level of detail. So if you're debugging a layout where items aren't growing the way you expect, open Firefox.

In practice, using both browsers during layout work is genuinely worth it. Chrome for grid (cleaner overlay UI), Firefox for flexbox edge cases. Fifteen minutes of this dual-browser workflow on a complex component will save you hours of console.log(getComputedStyle(...).width) nonsense.

Cascade Layers Inspector: The Feature You Need Right Now

If you're using @layer — and you should be if you're managing any CSS of meaningful scale — Chrome's cascade layer inspector in the Styles panel is legitimately useful. It was quietly shipped in Chrome 116 and hasn't gotten enough attention. When you inspect an element, you now see styles grouped by their layer name, not just file origin. You can see @layer base, @layer components, @layer utilities as collapsed sections.

This matters because @layer changes cascade resolution in a way that pure specificity-reading can't explain. A .button rule in @layer utilities loses to a div rule in a later-declared @layer components regardless of selector specificity. Without the layer inspector, you're guessing. With it, you can see exactly which layer's rule is winning and why.

Quick aside: the same panel also respects CSS nesting now. If you've got &:hover inside a .card {} block, Chrome 128+ shows nested rules as actual nested visual groups in the Styles panel instead of flattening them. This is a small thing that makes reading generated CSS from tools like Tailwind v4 or CSS Modules actually tolerable.

One more thing — the Computed styles panel now has a filter input that applies in real-time, and it filters inherited properties separately from non-inherited ones. Set it to color and you'll see every color-related computed value at once. Surprisingly fast way to debug a theme mismatch.

Color Debugging: Gamuts, Spaces, and the Eyedropper That Samples Outside sRGB

The color picker inside DevTools is quietly doing a lot more than you probably realize. In Chrome 123+, when you click a color swatch in the Styles panel, the color picker shows which color space the value is in — hsl, oklch, display-p3, srgb-linear — and lets you switch between them without converting the value manually. If you're designing with P3-wide colors for modern displays, this alone saves you five trips to a converter site per session.

The eyedropper tool now works outside the browser window in Chrome 124. You can sample a color from your Figma mockup sitting in a different window, from your Slack design spec, wherever. That was a long-overdue fix. Safari's Web Inspector color picker has done this since 2022, which was embarrassing for Chrome for two years.

There's also a contrast ratio indicator baked into the color picker. Click any text color swatch, and you get a live WCAG contrast ratio against the element's computed background. The line in the color spectrum shows you exactly which zone you're in — AA pass, AAA pass, or fail. This is objectively the fastest accessibility color check workflow available without a dedicated plugin.

Look, if you're building anything with custom color palettes — whether that's vaporwave aesthetics or minimal design tokens — spending ten minutes with the color picker in Chrome 124 will change how you work. It's not glamorous DevTools news but it's genuinely time-saving.

/* If you're using oklch() colors, DevTools will show this correctly now */
.button-primary {
  background: oklch(65% 0.2 250);
  color: oklch(98% 0.01 250);
}

Container Query Debugging and the @supports Inspector

Container queries shipped universally in 2023, but the DevTools support lagged. As of Chrome 125 and Firefox 129, both browsers show the computed container size directly in the styles panel when you inspect an element that's a containment context. You'll see a line like container-type: inline-size | 820px right there next to your other computed values.

What actually changed in 2025 is the breakpoint highlighting. Chrome now draws a dotted outline around any element that's the direct container ancestor for the selected element. So when you're debugging why a @container (min-width: 600px) rule isn't applying, you can immediately see which container it's referencing and what its current inline size is. No more console.log width checking.

The @supports inspector is newer and less well-known. In the Styles panel, rules wrapped in @supports that don't match the current browser show up grayed out with a tooltip explaining which feature failed the feature query. This is how you debug progressive enhancement in 30 seconds instead of 20 minutes. Works in Firefox 128 and Chrome 124.

/* DevTools now grays this out with a 'not supported' label if backdrop-filter is unavailable */
@supports (backdrop-filter: blur(1px)) {
  .card {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.12);
  }
}

That said, the container query debugging in Safari Web Inspector is still behind. As of Safari 17.4, you don't get the container size overlay. It's coming, but if you're testing container-heavy layouts, Chrome is your friend right now.

Animation Debugging: The Timeline Panel Nobody Opens

The Animations panel in Chrome DevTools (open via the three-dot menu → More tools → Animations) might be the single most underused feature in this list. It records every CSS animation and transition that fires while it's open — keyframe animations, transitions, animation-fill-mode behavior, everything. You get a timeline view where you can scrub to any point in the animation, slow it down to 10% speed, and re-fire it on demand.

If you're building motion-heavy UIs — think CSS scroll animations or complex hover states — the Animations panel eliminates a full category of bugs that are otherwise nearly impossible to catch. That animation-fill-mode: forwards that looks broken at 40ms in? Scrub right to it.

The panel also shows which property each keyframe is animating and flags any janky frames where the compositor had to fall back to the main thread. Anything that causes a repaint (like animating width or top) shows up highlighted. This is how you find the specific CSS animation that's tanking your frame rate without installing any profiling tools.

One more thing — Firefox has the equivalent in its Animation Inspector tab within the Inspector panel. It's slightly different UI but has one advantage Chrome doesn't: you can click directly into a keyframe in the timeline and it opens the exact CSS rule that defines that keyframe. That bidirectional link between animation timeline and source rule is genuinely better than Chrome's implementation right now.

In practice, I've started opening the Animations panel as a habit during any UI work that involves transitions. Even trivial hover effects sometimes reveal that you're accidentally triggering a layout recalculation on every frame. The panel catches it. Your users' CPUs will thank you.

Three Power Moves Worth Knowing Before You Close This Tab

First: Scroll-snap debugging. Chrome 121 added a scroll snap overlay — enable it via the Elements panel's Layout tab under the 'Scroll snap' section. It draws snap port and snap area boundaries for any scrollable element using scroll-snap-type. If you've ever spent an afternoon fighting scroll-snap alignment, this feature is the answer. You can see exactly where the snap boundaries are and which snap areas are in range.

Second: Local font override. In the Network panel, you can intercept a font request and swap it with a local file using the Overrides feature. Set up a local folder override in Sources → Overrides, map the font URL to a local .woff2, and Chrome will serve your local font without touching your build. Useful when you're trying a new typeface on a live design before committing to it. The Empire UI gradient generator is a good playground for this if you're previewing display fonts in a UI context.

Third: Changes panel. Every CSS edit you make in the Styles panel gets recorded in the Changes panel (More tools → Changes). It shows a unified diff of all your DevTools edits. You can copy the entire diff to put into your actual source files. This is the workflow that turns 'I tweaked it in DevTools and it looks great but I lost all the values' into a non-problem. It's been in Chrome since 2021 and most developers still don't know it exists.

These three aren't flashy. But if you actually add them to your workflow this week, you'll notice. You can also browse the box shadow generator while you practice tweaking values in DevTools — it's a good test bed for the Changes panel workflow since you're dealing with multi-value shadow properties.

FAQ

How do I open the Animations panel in Chrome DevTools?

Click the three-dot menu in DevTools, go to More tools, then Animations. It starts recording as soon as it's open, so trigger your animation right after opening it.

Does Firefox have cascade layer inspection like Chrome?

Firefox 128+ shows layer information in the Rules panel, but it's less visually grouped than Chrome's implementation. Chrome gives you proper collapsible sections per layer name.

Can I use the DevTools color eyedropper to sample colors from other apps?

Yes, in Chrome 124+ the eyedropper works outside the browser window. Click the eyedropper icon in the color picker, then move your cursor to any other app on screen.

What's the fastest way to preserve CSS edits made in DevTools?

Open the Changes panel via More tools → Changes. It shows a diff of every Styles edit you've made in the session, which you can copy directly into your source files.

Free components in 40 styles
React & Tailwind, copy-paste ready.
Browse →

Read next

CSS Debugging Tricks in 2026: outline, DevTools, Forced ColorsReact DevTools: Profiler, Components, and Debugging in 2026Glassmorphism in 2026: Is the Trend Still Worth Using?What Is Glassmorphism? A Free React + Tailwind Guide