- flex-direction 参数值是确定主轴是哪一条线。
.box { flex-direction: row | row-reverse | column | column-reverse; }
- row(默认值):主轴为水平方向,起点在左端。
- row-reverse:主轴为水平方向,起点在右端。
- column:主轴为垂直方向,起点在上沿。
- column-reverse:主轴为垂直方向,起点在下沿。
.box { flex-direction: row | row-reverse | column | column-reverse; }
本文标题:flex-direction
本文链接:https://www.haomeiwen.com/subject/mvvxvktx.html
网友评论