cuth / postcss-pxtorem

Convert pixel units to rem (root em) units using PostCSS
MIT License
2.02k stars 174 forks source link

feat: Support custom convert px unit #105

Closed yutingzhao1991 closed 5 months ago

yutingzhao1991 commented 5 months ago

With this feature, you can use it selectively without worrying about conflicts. For example, I use rpx as the unit.

.test {
  height: 32rpx;
}
yutingzhao1991 commented 5 months ago

@yangmingshan @cuth Can u merge and release a new version?

cuth commented 5 months ago

It's been ages since i've touched this but published 6.1.0. Let me know if that worked.

yutingzhao1991 commented 5 months ago

It's been ages since i've touched this but published 6.1.0. Let me know if that worked.

It's works, thanks~~~