Skip to content
A tiny script that helps you debug your CSS.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
src
LICENSE
README.md
index.js
package.json

README.md

debugCSS

A tiny script that helps you debug your CSS.

Installation

Via NPM

npm i -D 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"
});
You can’t perform that action at this time.