微信小程序开发之搞懂flex布局1——Flexbox

Flexbox ——弹性布局布局

Flexbox is a layout model for displaying items in a single dimension — as a row or as a column.flex

弹性布局是一种基于一维的行和列的布局模型。flexbox

The key feature of flexbox is the fact that items in a flex layout can grow and shrink.it

弹性布局的关键特性就是item(项)能够放大和收缩。io

Space can be assigned to the items themselves, or distributed between or around the items.model

能够给item本身,item之间或周围,分配空间。im

Flexbox also enables alignment of items on the main or cross axis, thus providing a high level of control over the size and alignment of a group of items.layout

弹性布局能够在主轴和交叉轴上排列items的尺寸、位置和方向。di

相关文章
相关标签/搜索