微信小程序開發之搞懂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

相關文章
相關標籤/搜索