cssrem
v1.0.8
Published
css layout
Downloads
23
Readme
How to use cssrem?
npm install cssrem
import CSSREM from 'cssrem'
const cssrem = new CSSREM(375); // 375 is design width
<style>
.main {
width: 1rem; // 1rem = 100px;
font-size: 0.14rem; // 14px;
}
</style>