Scale layout flexibility.
$ npm install base-scale
import { setup, px2rem } from 'base-scale';
// setup
setup(750);
// call px2rem
px2rem(200);
px2rem
must be called after setup.
blueprintWidth
: the width of blueprint in pixel.gridNumber
: grid number.
pixel
: length in pixel.