JSFiddle - React, Tailwind, and code Playground
by LuckyCat
HTML
<div>
<ul>
<li><a href="#">о senseit</a></li>
<li><a href="#">продукты</a></li>
<li><a href="#">challenge!</a></li>
<li><a href="#">поддержка</a></li>
</ul>
</div>
<div class="button_action__container">
<a class="button_action chat active" href="">
<span>Chat</span>
</a>
<a class="button_action chat jsi_attr" href="">
<span>Chat</span>
</a>
<a class="button_action chat jsi_attr" href="">
<span>Chat</span>
</a>
</div>
CSS
ul, li { padding: 0; margin: 0; }
div{
width: 404px;
margin 0 auto;
}
div ul{
display: block;
background: #d0001e;
width: 404px;
height: 100px;
}
div ul li{
display: block;
float: left;
width: 25%;
text-align: center;
border-left: 1px solid #000;
box-sizing: border-box;
}
div ul li:first-child {
border-left: 1px solid transparent;
}
div ul li a{
display: block;
width: 100%;
height: 100px;
font-family: Myriad Pro;
font-size: 16px;
color: #fff;
text-decoration: none;
text-transform: uppercase;
}
div ul li:hover{
background: #fff;
border-left: 1px solid #fff;
}
li:hover+li{
border-left: 1px solid transparent;
}
a:hover{
color: #de0524;
}
.button_action {
box-sizing: border-box;
color: #000000;
display: block;
float: left;
font-size: 10px;
height: 31px;
line-height: 31px;
position: relative;
text-align: center;
text-decoration: none;
width: 33.33%;
background-color: orange;
}
.button_action:after {
background-color: #000;
content: "";
height: 100%;
position: absolute;
left: 0;
top: 0;
width: 1px;
}
.button_action:first-child:after {
background-color: transparent;
}
.button_action.active