I am currently working on creating a unique button design using a combination of HTML and CSS. The button is rectangular on three sides, with a circular section attached to the right side where the buttons border seamlessly wraps around it.
Below is an image showcasing the button design I aim to achieve:
Here is the code that I have developed so far:
#GetOTPBlock {
display: flex;
width: fit-content;
padding: 8px
}
.get-otp {
font-size: 10px;
padding: 4px;
border: solid 2px #849dad;
border-radius: 50%;
font-weight: bold;
color: #747f86;
background-color: #f1f1f1;
z-index: 333;
}
<div class="row" id="GetOTPBlock">
<span class="get-otp">OR</span>
<div id="GetOTPBlockAction">
<a href="javascript:void(0);" title="Get OTP">Get OTP</a>
</div>
</div>