JSFiddle - React, Tailwind, and code Playground
HTML
<div class="price_block">
<span class="price_bonus">
<a href="#" class="price">490 ₽</a>
</span>
<a href="#" class="bth">Купить пакет</a>
</div>
CSS
*{
padding: 0;
margin: 0;
}
body{
font-family: Tahoma, Arial, sans-serif;
color: #fff;
background: #1C1B15;
user-select: none;
}
a{
text-decoration: none;
color: #fff;
}
.price_block {
display: flex;
}
.price_bonus{
background: #434543;
border-right: 2px solid #000;
font-size: 23px;
height: 46px;
opacity: .9;
overflow: hidden;
padding-top: 4px;
text-align: center;
width: 50%;
display: inline-block;
}
.bth{
background: #f26402;
border: none;
bottom: 0;
color: #fff;
cursor: pointer;
display: inline-block;
font-size: 23px;
height: 50px;
text-align: center;
width: 50%;
}
.bth:hover{
background: #ff7e00;
}