Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 637 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 637 Bytes

Tailwind CSS Debug Media Queries

Tailwind CSS plugin that displays a currently active media query breakpoint.

tailwind-debug-mq

Installation and Setup

npm install @whiterussianstudio/tailwind-debug-mq --save-dev

Add plugin to a plugins array in the configuration file:

// tailwind.config.js
plugins: [
  require('@whiterussianstudio/tailwind-debug-mq'),
  ...
]

Then add debug-mq class attribute to the tag <body>:

<body class="debug-mq">
  ...
</body>