flex布局示例代码三
文章目录
在我们平时写列表的时候,特别是三列,我们希望最后一列是靠右对齐的,这个时候我们如何设计?
.container {
justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly;
}
space-between: items are evenly distributed in the line; first item is on the start line,
last item on the end line
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论