https://github.com/meckodo/flexible-ext
基于淘宝和ant的杂交方案,让你更好的使用rem适配移动端
https://github.com/meckodo/flexible-ext
Last synced: 3 months ago
JSON representation
基于淘宝和ant的杂交方案,让你更好的使用rem适配移动端
- Host: GitHub
- URL: https://github.com/meckodo/flexible-ext
- Owner: MeCKodo
- License: mit
- Created: 2017-09-12T03:40:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-28T10:55:33.000Z (over 7 years ago)
- Last Synced: 2025-03-01T23:27:05.574Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 18
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flexible-ext
> 基于淘宝和ant的杂交方案,让你更好的使用rem适配移动端
- [x] 完美适配多种机型
- [x] 直接使用1px即可解决1px问题
- [x] 即使手机调整了系统字体大小,网页字体大小依旧完美适配## 如何构建
在这里推荐使用这个库
```javascript
postcss: [
require('postcss-pxtorem')({
rootValue: 75,
propWhiteList: [],
}),
]
```