circle div 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; 
/* width and height can be anything, as long as they're equal */

Example 3: div circle

.circle {
  border-radius: 50%;
  height: 100px; /* Change the size to fit your needs */
  width: 100px;
}

Example 4: making a circle css

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

Example 5: circle css

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

Example 6: how to make a circle in html

<svg xmlns="http://www.w3.org/2000/svg">
    <circle cx="50" cy="50" r="50" fill="red" />
</svg>