JSFiddle - React, Tailwind, and code Playground

by westdp1991

HTML

<div class="wrapper-inner-tab-backgrounds-first">

<!--<div class="sim-button button27">-->

<ul class ="sim-button">

<li class="button"> Компания 1 </li>
<li class="button"> Контакты 2 </li>
<li class="button"> Статьи 3 </li>
<li class="button"> Новости 4 </li>

</ul>
         
</div>

CSS

*{
  margin: 0 auto;
    

}

.wrapper-inner-tab-backgrounds-first{
  width: 1000px;
  height:600px;
  background-color: #feb41d;
  
}


.sim-button{
  
  line-height: 50px;
  height: 50px;
  text-align: center;
  margin-right:  auto;
  margin-left:  auto;
  padding-top: 125px;
  width: 60%;
  cursor: pointer;
}
.sim-button .button{
   width: 20%;
  margin: 0px 2.5%;
   float:left;
   box-sizing: border-box;
   position: reletive;
  color: rgba(255,255,255,1);
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  position:relative;
  border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
}
.sim-button .button:hover{
  border: 1px solid rgba(255,255,255,0);
}
.sim-button .button a{
  color: rgba(51,51,51,1);
  text-decoration: none;
  
}
  .sim-button .button::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 1;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: translate(-100%, -600%) rotate(30deg);
  transform: translate(-100%, -600%)  rotate(30deg);
  background-color: rgba(255,255,255,0.5);
  -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
  transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);

}

 .sim-button .button:hover::before{
  -webkit-transform: translate(0,0);
  transform: translate(0,0);	
} 


.wrapper-inner-tab-backgrounds-first{
  height: 600px;
  max-width: 1000px;
  width: 100%;
  background-color: #feb41d;
  
}