<!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>
*{
margin: 0;
padding: 0;
}
.out{
width: 500px;
height: 60px;
border:1px solid #ccc;
overflow-x:auto;
overflow-y:hidden;
}
ul{
white-space:nowrap;
}
li{
display: inline-block;
width: 200px;
height: 50px;
border: 1px solid pink;
}
</style>
</head>
<body>
<div class="out">
<ul>
<li>111111</li>
<li>22222222</li>
<li>333333</li>
<li>44444</li>
<li>555555</li>
</ul>
</div>
</body>
</html>