JSFiddle - React, Tailwind, and code Playground
HTML
<p>All the elements have width and height = 100px;</p>
<div>border-radius: 0px;</div>
<span class="rounded-el el1"></span>
<div>border-radius: 20px;</div>
<span class="rounded-el el2"></span>
<div>border-radius: 50px;</div>
<span class="rounded-el el3"></span>
<div>border-radius: 100px;</div>
<span class="rounded-el el4"></span>
<div>border-radius: 200px;</div>
<span class="rounded-el el5"></span>
CSS
p {
background: rgb(240, 232, 224);
}
.rounded-el {
background: gold;
border: black 1px solid;
width: 100px;
height: 100px;
display:block;
}
.el1{
border-radius:0px;
}
.el2{border-radius:20px;
}
.el3{
border-radius:50px;
}
.el4{
border-radius:100px;
}
.el5{
border-radius:200px;
}