#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%
}
div {
width: 60px;
height: 60px;
border-radius: 50%;
}
/*
note:
should width = height
*/
#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%
}
.circle {
aspect-ratio: 1/1;
width: 30%;
background: red;
border-radius: 50%;
}
<div id="circle">
</div>
#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%
}
#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%
}
#it is the border-radius:50; that makes the circle.
.MyCircle{
width:100px;
height:100px;
background-color:blue;
border-radius:50px;
}
#circle {
width: 100px;
height: 100px;
border-radius: 50%;
}
#div2{
width: 150px;
height: 150px;
border: 3px solid #05ffb0;
border-radius: 50%;
padding: 20px;
text-align: center;
}