摘要: 定义和用法 justify-content 用于设置或检索弹性盒子元素在主轴(横轴)方向上的对齐方式。 提示:使用 align-content 属性对齐交叉轴上的各项(垂直)。 /* 对齐方式 */justify-content: center; /* 居中排列 */justify-content: 阅读全文
posted @ 2022-08-17 16:25 XiaoChen9301 阅读(178) 评论(0) 推荐(0) 编辑
摘要: flex-direction 属性规定灵活项目的方向。 阅读全文
posted @ 2022-08-17 16:10 XiaoChen9301 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 让所有弹性盒模型对象的子元素都有相同的长度,且忽略它们内部的内容: flex:1时: flex:0时: flex:auto时: 阅读全文
posted @ 2022-08-17 12:21 XiaoChen9301 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 下面这篇文章对shadow属性解释的非常好: (7条消息) 详解 box-shadow_满天过海_春的博客-CSDN博客_box-shadow 阅读全文
posted @ 2022-08-17 12:11 XiaoChen9301 阅读(12) 评论(0) 推荐(0) 编辑