JSFiddle - React, Tailwind, and code Playground
by SriSri M
HTML
<div class="outer">
<div class="inner">inner content
<a href="#" class="btn">Click</a>
</div>
</div>
CSS
.outer {
background-color: powderblue;
position : relative;
height: 180px;
width: 300px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
.inner {
padding: 50px;
border: 1px solid;
position: relative;
}
.btn {
position: absolute;
top: 85%;
background-color: powderblue;
border: 1px solid;
text-decoration: none;
padding: 6px;
border-radius: 25px;
right: 36%;
}
.btn:after {
width: 10px;
height: 3px;
content: '';
display: block;
background-color: #b0e1e7;
position: absolute;
top: 15px;
left: 48px;
}
.btn:before {
width: 10px;
height: 3px;
content: '';
display: block;
background-color: #b0e1e7;
position: absolute;
top: 15px;
right: 48px;
}