1.0.0 • Published 5 years ago
debug-css v1.0.0
debugCSS
A tiny script that helps you debug your CSS.
Installation
Via NPM
npm i --save-dev debug-css
Via CDN
<script src="https://cdn.jsdelivr.net/gh/tunguskha/debugCSS@latest/src/debugcss.min.js"></script>
Locally
git clone https://github.com/tunguskha/debugCSS
or
curl https://git.io/JeeGO -o "debugcss.min.js"
Usage
Via module
import { debugCSS } from 'debug-css';
debugCSS({})
Locally or via CDN
debugCSS({});
Options
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 |
Example
debugCSS({
selector: "nav",
not: ".logo"
});
1.0.0
5 years ago