<html>
<head>
<style>
.flex-container {
display: flex;
display: flex;
flex-wrap: nowrap;
flex-wrap: nowrap;
width: 300px;
height: 250px;
background-color: lightgrey;
}
.flex-item {
background-color: cornflowerblue;
width: 100px;
height: 100px;
margin: 10px;
}
</style>
</head>
<body>
<div class="flex-container">
<div class="flex-item">弹性项目 2</div>
<div class="flex-item">弹性项目 2</div>
<div class="flex-item">弹性项目 3</div>
</div>
</body>
</html>