I am trying to create two linked buttons split by CSS background-color.
.right-part {
display: inline-block;
width: 100px;
height: 52px;
background: linear-gradient(110deg, #fff 0%, #fff 50%, #FF7240 50%, #FF7240 100%);
background-color: #FF7240;
border-radius: 0px 26px 26px 0px;
}
.left-part {
display: inline-block;
width: 100px;
height: 52px;
border-radius: 26px;
}
<div class="left-part">left</div>
<div class="right-part">right</div>
The background color does not fill the div element.
