Browse Source
Merge pull request #23 from evrone/version-update
update version and readme
pull/26/head
Dmitry Karpunin
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
3 deletions
-
README.md
-
package.json
|
|
@ -1,6 +1,13 @@ |
|
|
|
# postcss-px-to-viewport [](http://badge.fury.io/js/postcss-px-to-viewport) |
|
|
|
|
|
|
|
A plugin for [PostCSS](https://github.com/ai/postcss) that generates viewport units (vw, vh, vmin, vmax) from pixel units. |
|
|
|
A plugin for [PostCSS](https://github.com/postcss/postcss) that generates viewport units (vw, vh, vmin, vmax) from pixel units. |
|
|
|
|
|
|
|
Feel free to start watching and ⭐ project in order not miss the release or updates. |
|
|
|
|
|
|
|
<a href="https://evrone.com/?utm_source=postcss-px-to-viewport"> |
|
|
|
<img src="https://user-images.githubusercontent.com/417688/34437029-dbfe4ee6-ecab-11e7-9d80-2b274b4149b3.png" |
|
|
|
alt="Sponsored by Evrone" width="231"> |
|
|
|
</a> |
|
|
|
|
|
|
|
## Install |
|
|
|
``` |
|
|
@ -125,7 +132,7 @@ Default: |
|
|
|
- `[/^body$/]` will match `body` but not `.body` |
|
|
|
- `minPixelValue` (Number) Set the minimum pixel value to replace. |
|
|
|
- `mediaQuery` (Boolean) Allow px to be converted in media queries. |
|
|
|
- `replace` (Boolean) replaces rules containing rems instead of adding fallbacks. |
|
|
|
- `replace` (Boolean) replaces rules containing vw instead of adding fallbacks. |
|
|
|
- `exclude` (Array or Regexp) Ignore some files like 'node_modules' |
|
|
|
- If value is regexp, will ignore the matches files. |
|
|
|
- If value is array, the elements of the array are regexp. |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
{ |
|
|
|
"name": "postcss-px-to-viewport", |
|
|
|
"description": "A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).", |
|
|
|
"version": "0.0.3", |
|
|
|
"version": "1.0.0", |
|
|
|
"author": "Dmitry Karpunin <koderfunk@gmail.com>", |
|
|
|
"license": "MIT", |
|
|
|
"repository": { |
|
|
|