JSFiddle - React, Tailwind, and code Playground
by Alexander Startsev
HTML
<div class="wrapper">
<ul class="dot-nav">
<li>1</li>
<li>2</li>
<li>2</li>
</ul>
</div>
CSS
.wrapper {
width: 100%;
height: 600px;
position: relative;
background: #ff5f3b;
}
.dot-nav {
list-style: none;
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%); /* htmlforum.ru */
-ms-transform: translateY(-50%); /* htmlforum.ru */
transform: translateY(-50%); /* htmlforum.ru */
right: 30px;
margin: 0;
padding: 0;
}
.dot-nav li {
width: 30px;
height: 30px;
margin: 0;
padding: 0;
background: #fff;
border-radius: 50%;
font-size: 0;
}