Connecting circles with a line

Connecting circles with a line

by Sreekesh S K

HTML

<div class="plsRotate">
<ul>
  <li class="fullUndas firstUnda"></li>
  <li  class="fullUndas secondUnda"></li>
</ul> 
</div>

CSS

.plsRotate {
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
        position: absolute;
    top: 40px;
    left: -30px;
  
}
li.fullUndas  {
  width: .8em;
  height: .8em;
  text-align: center;
  line-height: 1em;
  border-radius: 1em;
  margin: 0 1em;
  display: inline-block;
  color: white;
  position: relative;

}

li.fullUndas::before{
  content: '';
  position: absolute;
  top: .3em;
  left: -2.5em;
  width: 3em;
  height: .2em;
  background: #BDBDBD;
  z-index: -1;
}


li.fullUndas:first-child::before {
  display: none;
}

.firstUnda {
  background: black;
  border:.2em solid #BDBDBD ;
  
}
.secondUnda {
  background: black;
  border:.2em solid #BDBDBD ;
}