2019年3月12日

摘要: .container{ /* 使用flex布局 */ display:flex; /* 布局中item的方向 */ flex-direction:column; /* 主轴居中 */ justify-content:center; align-items:center; padding: 0rpx 阅读全文
posted @ 2019-03-12 11:37 0C° 阅读(157) 评论(0) 推荐(0) 编辑
 
摘要: flex的基本概念 采用 Flex 布局的元素,称为 Flex 容器(flex container),简称"容器"。它的所有子元素自动成为容器成员,称为 Flex 项目(flex item),简称"项目"。 容器的6个属性 flex-direction flex-wrap flex-flow jus 阅读全文
posted @ 2019-03-12 11:35 0C° 阅读(102) 评论(0) 推荐(0) 编辑