Flexbox演练场
通过交互式可视化控件掌握flexbox
容器属性
px
px
px
%
px
px
预设
项目
预览
Item 1
Item 2
Item 3
主轴
水平
交叉轴
垂直
.flex-container {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: stretch;
align-content: stretch;
gap: 10px;
padding: 20px;
}