0.3.0 • Published 5 years ago

vw-flexible v0.3.0

Weekly downloads
5
License
MIT
Repository
-
Last release
5 years ago

VW Flexible

A scalable layout scheme implemented using viewport.

Quick Start

Install

yarn add vw-flexible
# or
npm install vw-flexible

Use

import VW from 'vw-flexible';

new VW({
  // set 100vw = 10rem
  totalRem: 10,
});
<style>
  .block {
    background-color: red;
    width: 5rem;
    height: 5rem;
  }
</style>

<div class="container">
  <div class="block"></div>
</div>
0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago