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.”
- Host: GitHub
- URL: https://github.com/chasestarr/never-cursed
- Owner: chasestarr
- Created: 2018-02-11T00:49:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T06:44:44.000Z (over 7 years ago)
- Last Synced: 2025-02-17T18:41:05.716Z (4 months ago)
- Language: JavaScript
- Size: 221 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://badge.fury.io/js/never-cursed) 
## never cursed
[](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.