box-mp
v1.1.4
Published
box margin and padding
Downloads
2
Readme
Install
npm
$ npm i --save box-mp
js
import "box-mp"
How to use
{type}{position}-{number}
type
m : margin
p : padding
position
a : all
t : top
b : bottom
l : left
r : right
h : horizontal
v : vertical
number
number*2 px (1 <= number <= 4>)
Some source code
.ma-1{
margin: 2px;
}
.pb-3{
padding-bottom: 6px;
}
.ph-2{
padding: 0 4px;
}
...