flex布局(flex-direction属性)
.box { flex-direction: row | row-reverse | column | column-reverse; }

row(默认值):主轴为水平方向,起点在左端。row-reverse:主轴为水平方向,起点在右端。column:主轴为垂直方向,起点在上沿。column-reverse:主轴为垂直方向,起点在下沿。
http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html

浙公网安备 33010602011771号