<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
body{
padding: 0;
margin: 0;
}
.box{
width: 100%;
height: 300px;
background-color: #00aaee;
}
.box .box-item{
display: flex;
flex-wrap: nowrap;
align-items: center;
/* width:200px; */
width: 100%;
height: 50px;
overflow-x: scroll;
overflow-y: hidden;
/* overflow: auto; */
white-space: nowrap;
background-color: #ff0000;
}
.box .box-item .item-group{
/* float: left; */
flex: 0 0 100px;
width: 100px;
text-align: center;
box-sizing: border-box;
border-right: 1px solid #ccc;
}
::-webkit-scrollbar {
display: none
}
</style>
</head>
<body>
<div class="box">
<div class="box-item">
<div class="item-group">1</div>
<div class="item-group">2</div>
<div class="item-group">3</div>
<div class="item-group">4</div>
<div class="item-group">5</div>
<div class="item-group">6</div>
<div class="item-group">7</div>
<div class="item-group">8</div>
<div class="item-group">9</div>
<div class="item-group">10</div>
<div class="item-group">11</div>
<div class="item-group">12</div>
</div>
</div>
</body>
</html>
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。