<body>
<div class="container">
<ul class="menu">
<li><a href="">Пункт меню</a></li>
<li><a href="">Пункт меню</a></li>
<li><a href="">Пункт меню</a></li>
<li><a href="">Пункт меню</a></li>
<li><a href="">Пункт меню</a></li>
<li><a href="">Пункт меню</a></li>
</ul>
</div>
</body>
* {
font-family: sans-serif;
text-decoration: none;
list-style-type: none;
color:black;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.menu {
display: flex;
overflow: scroll;
text-align: center;
padding: 0;
}
.menu li {
padding: 10px;
}
.menu a {
}
.container {
background:gray;
height: 300px;
width: 300px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.