How to Inspect Tailwind CSS Classes in the Browser (The Easy Way)
Why Inspecting Tailwind Classes Can Be Painful
Anyone who's worked with Tailwind CSS knows the pain of dealing with long utility class chains in devtools. It's hard to read, hard to tweak, and constantly switching between your editor, documentation, and browser breaks your flow.
Introducing Tail Lens β The Visual Tailwind Inspector
Tail Lens is a Chrome extension built specifically to solve this. You can . It lets you inspect any element using Tailwind CSS and instantly view the applied classes in a clean, readable popup.
- π§ Visually inspect Tailwind classes on hover
- β‘ Live edit and preview utility classes
- π Explore alternatives like
flex-col
oritems-center
and see them live - π Copy full class lists in one click
- π See spacing, font, and layout properties at a glance
How to Use It
- Install
- Visit any site using Tailwind CSS (your project or any Tailwind-based UI)
- Click the Tail Lens icon in the toolbar
- Hover over any element β you'll see a live overlay showing all applied Tailwind classes
- Edit, preview, or copy classes directly from the popup
Bonus: It Supports Custom Tailwind Configs
If your project uses a custom tailwind.config.js
β no problem. Tail Lens reads your themes, screens, and variants too.
Why Developers Love It
Tail Lens is trusted by hundreds of frontend developers who want a faster, cleaner way to debug their Tailwind UI. It's built for speed, clarity, and productivity β whether you're a beginner or a power user. and experience the difference.
Ready to try it?
Final Thoughts
Inspecting Tailwind CSS classes doesnβt have to be tedious. With tools like , you can visually debug your layout, experiment faster, and stay focused in your browser.
If youβre working with Tailwind CSS regularly, this tool will instantly feel like a natural part of your workflow.
Frequently Asked Questions
π How is this different from browser devtools?
Devtools show raw class names. Tail Lens shows readable Tailwind utilities with hover previews, spacing overlays, and more.
π§ Can I preview class changes before applying them?
Yes! Hover on alternatives like flex-col
or gap-4
and see the effect in real-time before confirming.
βοΈ Does it support custom Tailwind config?
Absolutely. Tail Lens respects your tailwind.config.js
including custom screens, themes, and variants.
π How do I get started?
Just , open any Tailwind-based site, and start exploring!