<div class="token">
50%
</div>
<a href="https://qna.habr.com/q/783369" style="position: fixed; bottom: 20px; right: 20px" target="_blank"> вопрос</a>
.token{
width: 200px;
height: 90px;
background: linear-gradient(to left, darkred, red, darkred);
clip-path: polygon(0 50%, 20% 0, 100% 0, 100% 100%, 20% 100%);
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-size: 50px;
font-weight: 900;
font-family: sans-serif;
color: #fff;
text-indent: 30px;
}
.token:after{
content: "";
position: absolute;
left: 14px;
top: 50%;
background: #fff;
width: 20px;
height: 20px;
border-radius: 50%;
transform: translate(0,-50%);
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.