Flex
// 容器设置为 flex - 即容器内部元素 flex
display: flex;
// 行内元素 flex
display: inline-flex;
flex-direction: row | row-reverse | column | column-reverse;
flex-wrap: nowrap | wrap | wrap-reverse;
// 水平
justify-content: flex-start | flex-end | center | space-between | space-around;
// 垂直
align-items: flex-start | flex-end | center | baseline | stretch;
// 水平+垂直
align-content: flex-start | flex-end | center | space-between | space-around | stretch;
// 单个元素对齐方式
align-self: auto | flex-start | flex-end | center | baseline | stretch;
// 元素排序: 数值越小,排列越靠前,默认为0。
order: <integer>;
// 元素放大
flex-grow: <number>;
// 元素缩小
flex-shrink: <number>;
// 占据的主轴空间
flex-basis: <length> | auto;
flex-flow: <flex-direction> || <flex-wrap>;
flex: none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]