No description, website, or topics provided.
Switch branches/tags
Nothing to show
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.
.editorconfig
.gitignore
.npmignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
index.js
index.test.js
package-lock.json
package.json

README.md

PostCSS Hera Css

PostCSS plugin hera.

.colorRing {
  width: 100px
  margin: -78rpx 0 0 -78rpx;
  -wechat-web-margin: -77rpx 0 0 -77rpx;
}
.colorRing {
  width: 100px
  margin: -77rpx 0 0 -77rpx;
}

Usage

postcss([ require('postcss-hera-css') ])

In some case : use -wechat-web-margin to override margin This plugin will

  1. rename -wechat-web-margin to margin
  2. delete previous(sibling) margin

Ref

AST Explorer

postcss-plugin-boilerplate

Writing Your First PostCSS Plugin