style circle css code example

Example 1: css circle

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

Example 2: making a circle css

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

Example 3: circle css

#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; /* or 50% */
    border-radius: 30px; /* or 50% */

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

Tags:

Html Example