Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
A tiny script that helps you debug your CSS.
JavaScript
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
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" });