evrone / postcss-px-to-viewport

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.
https://evrone.com/postcss-px-viewport
MIT License
3.04k stars 406 forks source link

Strange behavior on a horizontal screen / 横屏下,转换vh,vw混乱 #37

Closed qindongyan closed 4 years ago

qindongyan commented 5 years ago

横屏下,父组件未转换依然是vw,子组件转换为指定的vh

KODerFunk commented 5 years ago

@qindongyan 请举一个例子。 1)您的原始CSS代码 2)结果代码 3)设置

KODerFunk commented 4 years ago

No additional information from @qindongyan