css cirlce code example

Example 1: circle css

#circle {
  width: 100px;
  height: 100px;
  background: red;
  border-radius: 50%
}

Example 2: how to create a circle with css

<div id="circle">
</div>

#circle {
    width: 100px;
    height: 100px;
    background: red;
    border-radius: 50%
}

Example 3: make span html circle css

span {
    display: block;
    height: 60px;
    width: 60px;
    line-height: 60px;

    -moz-border-radius: 30px; /* or 50% */
    border-radius: 30px; /* or 50% */

    background-color: black;
    color: white;
    text-align: center;
    font-size: 2em;
}

Example 4: cs cirlce

border: white solid 3px;
border-radius: 50%;
width:50px;
height:50px;

Tags:

Css Example