A tiny script that helps you debug your CSS.
npm i -D debug-css
<script src="https://cdn.jsdelivr.net/gh/tunguskha/debugCSS@latest/src/debugcss.min.js"></script>
git clone https://github.com/tunguskha/debugCSS
or
curl https://git.io/JeeGO -o "debugcss.min.js"
import { debugCSS } from 'debug-css';
debugCSS({})
debugCSS({});
Name | Description | Required | Default | Type |
---|---|---|---|---|
selector | Select what you want to debug. | false | "*" |
string |
not | Select what you want to not debug | false | N/A | string |
debugCSS({
selector: "nav",
not: ".logo"
});