PostCSS plugin which adds limit to vw unit.
/* assuming contentMaxWidth = '1280px' */ {}
Usage
var contentWidthUnit = ; ;
Options
contentMaxWidth: string
, required
The global max-width
value. Can be a variable name.
unit: string
, optional, default: rpx
Content width unit which would be converted to regular CSS units.
See PostCSS docs for examples for your environment.