Here, in this link, you will find two divs with different text within them. Both of the divs have identical styling, however, the div with id days
is perfectly circular while the div with id hour
appears as an oval. How can I modify the styling to make the hour
div also a perfect circle?
Below is the code snippet:
.component {
color: white;
border: 1px solid white;
border-radius: 50%;
display: inline;
padding: 20px;
}
body {
background-color: black;
margin: 20px;
}
<body>
<div class="component" id="days">71</div>
<div class="component" id="hour">5</div>
</body>