CSS como usar o Circle
January 04, 2020
Creates a circle shape with pure CSS.
<div class="circle"></div>.circle {
border-radius: 50%;
width: 2rem;
height: 2rem;
background: #333;
}Explanation
border-radius: 50%curves the borders of an element to create a circle.- Since a circle has the same radius at any given point, the
widthandheightmust be the same. Differing values will create an ellipse.