/* flex 布局 */

.flex-box() {
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
}

.flex(@value: 1) {
    -webkit-box-flex: @value;
    -moz-box-flex: @value;
    -webkit-flex: @value;
    -ms-flex: @value;
    flex: @value;
}

.flex-wrap(@value: wrap) {
    -webkit-flex-wrap: @value;
    -moz-flex-wrap: @value;
    -ms-flex-wrap: @value;
    flex-wrap: @value;
}

.justify-content(@value: center) {
    -webkit-box-pack: @value;
    -webkit-justify-content: @value;
    -moz-justify-content: @value;
    -ms-justify-content: @value;
    -o-justify-content: @value;
    justify-content: @value;
}

.align-items(@value: center) {
    -ms-flex-align: @value;
    -webkit-align-items: @value;
    -moz-align-items: @value;
    align-items: @value;
}