jackrim1 / pastel-shades

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pastel-shades

Color your divs to make them easier to wrangle

Wrangling css can sometimes drive you to madness, coloring the background of each element helps immensely.

Don't forget to remove before pushing to production!

Before:

Before

After:

After

How to use

To use simply place the attribute pastel within a div and all of its children will have their background colored too.

  <div pastel>
    <div>
      <div>
      </div>
    </div
  </div

Installation

Run:

npm install pastel-shades

or

yarn add pastel-shades

Then in your js set-up:

const pastel = require("pastel-shades")
pastel.pastelStart();

About


Languages

Language:JavaScript 100.0%