how to make a div a circle in css code example
Example 1: css circle
#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%
}
Example 2: circle div
border-radius: 50%;
width: 200px;
height: 200px;
Example 3: how to create a circle with css
<div id="circle">
</div>
#circle {
width: 100px;
height: 100px;
background: red;
border-radius: 50%
}
Example 4: make span html circle css
span {
display: block;
height: 60px;
width: 60px;
line-height: 60px;
-moz-border-radius: 30px;
border-radius: 30px;
background-color: black;
color: white;
text-align: center;
font-size: 2em;
}