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

图片描述

评论

暂无评论