#to-em
Convert pixels to the em unit.
Install:
npm install to-em --save
import em from 'to-em';
var style = {
margin: em(20),
padding: em('8 0 12'),
};
#to-em
Convert pixels to the em unit.
Install:
npm install to-em --save
import em from 'to-em';
var style = {
margin: em(20),
padding: em('8 0 12'),
};
npm i to-em
0
0.1.1
MIT