1.0.9 • Published 4 years ago
fastclass-loader v1.0.9
fastclass-loader V1.0.6
The fastclass-loader is a webpack loader
Installation
Using npm
$ npm i -D fastclass-loader
Support CSS attribute
css属性 | 类 | 结果 |
---|---|---|
display | block inline-block list-item table inline-table table-cell flex inline-flex grid inline-grid flow-root | --- |
width | w-10 width-10 | --- |
height | h-10 height-10 | --- |
padding | pad-10 pad-t-10 pad-r-10 pad-r-10 pad-l-10 | |
margin | mar-10 mar-t-10 mar-r-10 mar-r-10 mar-l-10 | |
font-size | font-10 font-size-10 fz-10 | |
line-height | lh-10 line-height-10 | |
white-space | nowrap pre | |
color | color-333 color-333333 | |
direction | rtl ltr | |
flex | flex-1 flex-auto flex-initial | |
justify | justify-start justify-center justify-end justify-flexStart |
useages
写在元素的class上例如