JSFiddle - React, Tailwind, and code Playground

by Morpheus_God

HTML

<ul class="wrap">
  <li class="item">
    Вот мои попытки решить эту за
  </li>
  <li class="item">
    Вот мои попытки решить эту за ddd 
  </li>
  <li class="item">
    Почему анимация перестает быть плавной если указать
  </li>
  <li class="item">
    Вот мои попытки решить эту за
  </li>
  <li class="item">
    Почему анимация перестает быть плавной если указать
  </li>
</ul>

CSS

body{
  font-size: 30px;
}

.wrap{
  position: relative;
  display:flex;
  justify-content: space-between;  
  padding: 0;
  border-bottom: 1px solid black;
  counter-reset: list;
}

.item {
  display: inline-block;
  position: relative;
  top: 1px;
  padding: 0 0 130px 0;
  text-align: center;
  color:yellow;
}

.item::before,
.item::after {
  position: absolute;  
}

.item::before{
  content:'';  
  height: 80px;
  width: 50%;
  right: 0;
  bottom: 0;
  border-left: 1px solid black;
}
.item::after {
  counter-increment: list;
  content: counter(list);
  padding: 0 .3em;
  position: absolute;
  left: 50%;
  bottom: 90px;
  display: inline-block;
  transform: translateX(-50%);
  background: red;
  border-radius: 50%;
}

.item:first-of-type:before,
.item:last-of-type:before {
    border-bottom: 1px solid #fff;  
} 

.item:first-of-type:before {  
  left: 0;
  border-left: 0;
  border-right: 1px solid black;
}