<!DOCTYPE html>
<html>
<head>
<style>
#container {
height: 350px;
width: 60%;
border: solid black 1px;
display: flex;
flex-wrap: wrap;
place-content: end space-between;
}
#container > div {
flex-basis: 40px;
height: 40px;
margin: 2px;
background-color: coral;
}
</style>
</head>
<body>
<h1>place-content 属性</h1>
<p>调整窗口大小可更清晰地查看效果。在列方向上,弹性行被放置在容器的底部;在行方向上,弹性项目之间的间距相同。</p>
<div id="container">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</body>
</html>