meix-css-lib
v1.0.1
Published
``` npm i -S meix-css-lib 在项目入口 app.tsx或 app.jsx引入 import 'meix-css-lib/index.css' ```
Downloads
2
Readme
使用
npm i -S meix-css-lib
在项目入口 app.tsx或 app.jsx引入
import 'meix-css-lib/index.css'
类名
1.flex-direction: row;相关
.flex-r {
display: flex;
flex-direction: row;
}
.flex-r-wrap {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.flex-r-ac {
display: flex;
flex-direction: row;
align-items: center;
}
.flex-r-jc {
display: flex;
flex-direction: row;
justify-content: center;
}
.flex-r-sa {
display: flex;
flex-direction: row;
justify-content: space-around;
}
.flex-r-st {
display: flex;
flex-direction: row;
justify-content: flex-start;
}
.flex-r-end {
display: flex;
flex-direction: row;
justify-content: flex-end;
}
.flex-r-sb {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.flex-r-sb-c {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items:center;
}
2.flex-direction: column;相关
.flex-c-jc {
display: flex;
flex-direction: column;
justify-content: center;
}
.flex-c-ac {
display: flex;
flex-direction: column;
align-items: center;
}
.flex-c-c-c {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.flex-r-c-c {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
应用
直接在项目中className 引入
<div className="flex-r"></div>