JSFiddle - React, Tailwind, and code Playground

HTML

<div class="slider container">
  <div class="center-line">.</div>
  <div class="owl-dots">
    <div class="owl-dot active"><span></span></div>
    <div class="owl-dot"><span></span></div>
    <div class="owl-dot"><span></span></div>
    <div class="owl-dot"><span></span></div>
  </div>
</div>

CSS

.slider {
  background-color: red;
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 250px 0;
  /*imagine here is pic slider with text, buttons, etc*/
}

.center-line {
  position: absolute;
  background-color: white;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
}


/*Im fine with desctop absolute positioning is right-10% */

.owl-dots {
  display: inline-block;
  position: absolute;
  top: 80px;
  right: 10%;
}

.owl-dot {
  display: block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin: 10px 0;
}

.owl-dot.active {
  background-color: green;
}


/*mobile - dots are non-centred*/

@media (max-width: 750px) {
  .owl-dots {
    top: 305px !important;
    left: 50%;
    right: 50% transform: translateX(50%);
  }
  .owl-dot {
    display: inline-block;
    margin: 0 5px;
  }
}