viewport-units-buggyfill-w

Making viewport units (vh|vw|vmin|vmax) work properly in older WebKit and Trident Forked from rodneyrehm/viewport-units-buggyfill

Usage no npm install needed!

<script type="module">
  import viewportUnitsBuggyfillW from 'https://cdn.skypack.dev/viewport-units-buggyfill-w';
</script>

README

Viewport Units Buggyfill

forked from rodneyrehm/viewport-units-buggyfill

Fixed

  • PC 以及 需要控制 maxWidth 场景下的使用 ,新增 maxWidth 配置
require('viewport-units-buggyfill-w');.init({maxWidth: 640});

License

viewport-unit-buggyfill is published under the MIT License.