pastel-shades
v1.1.2
Published
Adding the single attribute 'pastel' to an html div will give it and all of its children a different colored pastel background color. This makes it easy to see how big and where each div is
Downloads
5
Readme
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:
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();