meix-css-lib

1.0.1 • Public • Published

使用

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>

Readme

Keywords

none

Package Sidebar

Install

npm i meix-css-lib

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

3.07 kB

Total Files

3

Last publish

Collaborators

  • lanzhsh
  • qdong