I am reading HTML and CSS by Jon Duckett, and have been introduced to the border-radius
property.
I am trying to create a circle using the code below, but the circle is not perfect. I am using the radius of 50px
but it isn't perfect.
p {
border: 5px solid #ee3e80;
padding: 10px;
width: 100px;
height: 100px;
display: inline-block;
margin: 20px;
}
p.three {
padding: 0px;
border-radius: 50px;
-moz-border-radius: 50px;
-webkit-border-radius: 50px;
}
<p class="three"></p>
What am I doing wrong?