An open API service indexing awesome lists of open source software.

https://github.com/chasestarr/never-cursed

“I cannot start my day with a confrontation. I simply have no time for confrontations.”
https://github.com/chasestarr/never-cursed

Last synced: 4 months ago
JSON representation

“I cannot start my day with a confrontation. I simply have no time for confrontations.”

Awesome Lists containing this project

README

        

[![NPM version](https://badge.fury.io/js/never-cursed.svg)](http://badge.fury.io/js/never-cursed) ![CI Status](https://circleci.com/gh/chasestarr/never-cursed.svg?style=shield&circle-token=f3bf89a95bd24baea5c88f1c6d3536b1c69b4fa6)

## never cursed

[![never-cursed](/images/never-cursed.jpg)](https://www.youtube.com/watch?v=bT_XjcdgT6g)

### install

```sh
npm install --save --save-exact never-cursed
```

working with scaled rem (`font-size: 62.5%; /* 62.5% of 16px = 10px */`) is super dev friendly, but is isolated to a single css file, and isn't very _explicit_. this postcss plugin allows you to write scaled rem values without changing the html `font-size`.

```css
/* input */
h1 {
padding: 2rem& 3.2rem& 1.6rem&;
font-size: 2rem&;
}

/* output */
h1 {
padding: 1.25rem 2rem 1rem;
font-size: 1.25rem;
}
```

no configuration options at the moment. see [postcss](https://github.com/postcss/postcss) docs for installation instructions.