JSFiddle - React, Tailwind, and code Playground
by Abdul Ahmad
HTML
<div class='page-section'>
<div class='circle'>
<div>
some content
</div>
</div>
</div>
SCSS
html, body {
margin: 0;
}
.page-section {
padding: 100px 0;
background: #FFF1E4;
}
.circle {
font-family: helvetica;
width: 100px;
height: 100px;
border-radius: 100%;
background: white;
margin: 0 auto;
border: 6px solid desaturate(darken(#FFF1E4, 20%), 20%);
display: flex;
font-size: 14px;
align-items: center;
justify-content: center;
box-sizing: border-box;
text-align: center;
padding: 10px;
div {
// border: 1px solid red;
}
}