Displaying 1 to 5 from 5 results

postcss-px-to-viewport - A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units

  •    Javascript

A plugin for PostCSS that generates viewport units (vw, vh, vmin, vmax) from pixel units. If your project involves a fixed width, this script will help to convert pixels into viewport units.

to-px - Convert any CSS unit to logical pixels (aka "px")

  •    Javascript

Get the scale factor to convert any CSS unit to px (logical pixel units). Note that this module only works within the DOM.




react-native-viewport-units - Incredibly simple utility for (sort of) using viewport units with React Native

  •    Javascript

Incredibly simple utility for (sort of) using viewport units with React Native. I would like to add support for orientation changes and reflowing components that use viewport units. I am, however, waiting until something official lands. Keeping a close eye on 418.