Skip to content

A small module to show document info as well as current TailwindCSS media query state

Notifications You must be signed in to change notification settings

kimagin/Tailwind-Debugger

Repository files navigation

TailwindCSS Debugger

A small module to show the current Window information and the media query state of TailwindCSS in your current project.


Documentation

  1. Import both files into a folder in your project.
  2. For the tailwind-debugger.css import it in on top of your global file :
@import url("tailwind-debugger.css");
  1. Now you can import tailwind-debugger.js directly into the html file at the end of the <body> tag
<script type="module" src="/tailwind-debugger.js"></script>
</body>

Please remember to add the type="module" in the script

  1. At this point simply create a div inside the <body> and add "data-debugger" as an attribute:
<div data-debugger></div>

If you're interested in contributing to Tailwind CSS Debugger, I will be more than happy.

About

A small module to show document info as well as current TailwindCSS media query state

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published