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
3k stars 405 forks source link

Can not be used on the codepen #3

Closed airen closed 5 years ago

airen commented 7 years ago

The plug-in can not be used on the codepen.

@use postcss-px-to-viewport;

body{
  font-size: 16px;
}

Codepen warning information:

'postcss-px-to-viewport' is not a valid postcss plugin.

chernobelenkiy commented 5 years ago

@airen our plugin must be added to CodePen. We are currently waiting for their answer.

chernobelenkiy commented 5 years ago

It looks like codepen is not currently considering new postcss plugins. When it is available, we will give a notice in readme file.