postcss-view-sizes
v1.0.0
Published
PostCSS plugin size based on the viewport polyfill
Downloads
34
Maintainers
Readme
PostCSS Viewport unit Variant
This module is a PostCSS plugin to polyfill of viewport unit variants. It handle svh | lvh | dvh | svw | lvw | dvw
see on caniuse
Install
npm --save install postcss postcss-view-sizes
Usage
/* input */
.full-screen {
height: 100dvh;
}
become
/* output */
.full-screen {
height: 100vh;
height: 100dvh;
}