/* create by zgt */
//定义flex布局得相关 className

.z-flex {
	display: flex !important;
}
.z-flex-wrap {
	display: flex !important;
	flex-wrap: wrap;
}
//盒子子元素水平居中
.z-flex-items-h-center {
	display: flex !important;
	justify-content: center;
}
//盒子子元素垂直居中
.z-flex-items-v-center {
	display: flex !important;
	align-items: center;
}
//盒子子元素水平垂直居中
.z-flex-items-center {
	display: flex !important;
	align-items: center;
	justify-content: center;
}
// 盒子子元素底部对齐
.z-flex-items-end {
	display: flex !important;
	align-items: flex-end;
}

//子元素高度跟随文字
.z-flex-self-baseline {
	align-self: baseline;
}
//分隔两端
.z-flex-space-between {
	display: flex !important;
	justify-content: space-between;
}
//纵向排列方式
.z-flex-direction-column {
	display: flex;
	flex-direction: column;
}
//子元素垂直居中
.z-flex-self-center {
	align-self: center;
}
.forFlex(@i: 1) when (@i <= 5) {
	.z-flex-@{i} {
		flex: @i;
	}
	.forFlex((@i + 1));
}
.forFlex();
