postcss-px-to-viewport icon indicating copy to clipboard operation
postcss-px-to-viewport copied to clipboard

A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units. The best choice to create a scalable interface on different displays by one design size.

Results 108 postcss-px-to-viewport issues
Sort by recently updated
recently updated
newest added

"!" 和 ""可以组合使用, 例如: ['', '!font*'],将不转换font-size以及font-weight等属性; ['', '!font*']将不转化任何。应该是['*', '!font*']吧!

Can you write an example of include? How do you write it? I downloaded the above case of GitHub and failed to configure include

Object.prototype.toString.call(reg) !== '[object RegExp]' 这个地方会认为reg为string

"include" option is no effect

手机浏览器弹出输入法后,屏幕可视高度缩小,在一些手机上,屏幕宽度大于高度导致ui变形;有什么好的解决方法么

``` "devDependencies": { "jest": "^25.4.0", "postcss": ">=5.0.2" }, "peerDependencies": { "postcss": ">=5.0.2" } ``` 这样使用会出现今天的问题,即 postcss 更新 version 8 导致 插件 landscape: true 时 打包报错: TypeError: postcss.atRule is not a...

**No matter how big the viewport idth setting is, the VW transformation on the page will have the same effect** `const getStyleLoaders = (cssOptions, preProcessor, isNeedToView = true) => {...

修复windowns环境下path为右斜杠时,exclude 正则匹配失效的问题

I've seen a similar issue #32 there, the landscape* options do make sense somehow. However, that's sort of trick method which may not cover all situations directly. Imagine, we have...