You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
问题:
postcss-pxtorem
会把全部px
元素全部转换成vw/vh
因为我的
postcss-pxtorem
中的selectorBlackList:['.ed-']
这个属性 只要以ed
开头的类名就会进行过滤,不再自动进行px
转换vw/vh
我想要的效果是 左边是自己的写法,右面是
windicss
写法,无论class
里面使用哪个类名,都能出现text-50px
的效果<div class="mb-20px ed-text-50px ed-h-500px">3443444</div>
<div class="text-14px">123</div>
Beta Was this translation helpful? Give feedback.
All reactions