Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziqiangwang/postcss-px2rem-more
postcss plugin for px2rem-more
https://github.com/ziqiangwang/postcss-px2rem-more
enhancement font-size px2rem
Last synced: 7 days ago
JSON representation
postcss plugin for px2rem-more
- Host: GitHub
- URL: https://github.com/ziqiangwang/postcss-px2rem-more
- Owner: ZiQiangWang
- License: mit
- Created: 2018-08-29T07:06:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-30T06:04:13.000Z (over 6 years ago)
- Last Synced: 2024-11-07T07:13:52.412Z (about 2 months ago)
- Topics: enhancement, font-size, px2rem
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# postcss-px2rem-more
postcss plugin for px2rem-moreBased on [postcss-px2rem](https://www.npmjs.com/package/postcss-px2rem) and [px2rem-more](https://github.com/ZiQiangWang/px2rem) added the exclude folder option.
Not convert **font-size** by default,you can enable it by setting `keepFontSize=false`
[![Downloads][downloads-image]][downloads-url]
[downloads-image]: https://img.shields.io/npm/dm/postcss-px2rem-more.svg?style=flat-square
[downloads-url]: https://www.npmjs.com/package/postcss-px2rem-v## Useage
### .postcssrc.js
```javascript
module.exports = {
'plugins': {
'postcss-px2rem-more': {
remUnit: 75,
exclude: /node_modules|folder_name/i
}
}
}
```