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
2.98k stars 401 forks source link

Is the current package still under maintenance? inline style does not work #151

Open LuoRiWuSheng opened 1 year ago

LuoRiWuSheng commented 1 year ago

I want to support the conversion of css inline style to viewport units

<div style='margin: 20px 0'>inline  style </div>

Currently, px will not be converted to the expected vw

@olegbalbekov @belov @dsazanov @KODerFunk