styled-2rem
Extension of styled-components with features for convert px to rem units
Extension of styled-components with features for convert px to rem units
A webpack loader auto px to rem.
According to one stylesheet, generate rem version and @1x, @2x and @3x stylesheet
fis3 对px单位的css属性自动转化为rem为单位的fis插件。基于rem的解决方案[rem-core](https://www.npmjs.com/package/rem-core)的二次开发。
px to rem
Postcss version of px2rem
Based on postcss-px2rem added the include options.
解析.vue中的样式,将其中的px单位改成rem,可以设置不想转换成rem的单位(其他那个https://github.com/songsiqi/px2rem在webpack的production环境,会先执行uglify, 会造成注释被移除掉, 所以无法用注释来作为转与不转的标记 )
Postcss version of yqb-px2rem-dpr
Based on postcss-px2rem added the exclude folder options.
A stylus plugin to convert px to relative length units (vw / rem)
webpack loader for x2x css file
Postcss version of px2rem
px2rem
A gulp plugin for px2rem
According to one stylesheet, generate rem version and @1x, @2x and @3x stylesheet
A gulp plugin for px2rem
* 应用中,对字体大小不使用`rem`, rem的基准值与屏幕宽度成正比, 这就造成相同分辨率的屏幕,越宽字越大,越窄字越小, 在开发过程中,我们创造了 `dpx` (dpr px) 这个单位, 按照dpr来放大 1*px, 2*px, 3*px 大小的字体,再按照屏幕dpr缩小, 这样就达到了字体 不缩放, 各种屏幕的字体看起来都差不多,也与屏幕宽度无关。 * 边框一般不使用`rem` , 在移动设备上最常见的就是`1px`的边框, 由上一条规则我们知道`rem`无法精确到`1px`, 它只是一个与屏幕
A flexible layout tool for television
According to one stylesheet, generate rem version and @1x, @2x and @3x stylesheet add PX to keep original value