Skip to content
ezpz js inline styles 👌
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.
scripts
src
.babelrc
.gitignore
.travis.yml
PORTFOLIO.md
README.md
package.json
rollup.config.js
yarn.lock

README.md

ezpz

I started working on this to learn how to release an npm package.
I'm no longer developing this, as I realized this adds unnecessary complexity to small projects, and is not flexible enough for bigger ones.

all modules come with a default value scale, rem is the preferred unit

if you pass in a number it will compute from the scale, if you pass in a string it will use it as-is:
padding(2) => padding: .5rem
padding('123px') => padding: 123px

Examples:

padding(1)

padding: .25rem;

padding.horizontal(1)

padding-left: .25rem;
padding-right: .25rem;

borderRadius(1)

border-radius: .125rem;

borderRadius(1).topLeft(0)

border-radius: .125rem;
border-radius-top-left: 0;
You can’t perform that action at this time.