display:box的兼容写法
.box{ /* display */ display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -o-box; display: box; /* box-orient */ /** * vertical column * horizontal row */ -webkit-box-orient: vertical; -moz-box-orient: vertical; -ms-flex-direction: column; -o-box-orient: vertical; box-orient: vertical; /* box-flex */ -webkit-box-flex: 1; -moz-box-flex: 1; -ms-flex: 1; -o-box-flex: 1; box-flex: 1; /* box-pack */ -webkit-box-pack: justify; -moz-box-pack: justify; -ms-flex-pack: justify; -o-box-pack: justify; box-pack: justify; /* box-align */ -webkit-box-align: justify; -moz-box-align: justify; -ms-flex-align: justify; -o-box-align: justify; box-align: justify; }