1.0.0 • Published 5 years ago

debug-css v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

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

NameDescriptionRequiredDefaultType
selectorSelect what you want to debug.false"*"string
notSelect what you want to not debugfalseN/Astring

Example

debugCSS({
  selector: "nav",
  not: ".logo"
});