0

I have the following circle and header.

I want the h4 to be centered inside the animating-circle div. I cannot put inside because I will rotate the circle, and I do not want the text to rotate.

I have the following CSS. Currently, all circles are stacked into each other. I want them to have their own spacing. Thanks!

.animating-circle {
  position: absolute;
  min-width: 250px;
  min-height: 250px;
  box-sizing: border-box;
  border: 1px solid black;
  border-radius: 50%;
  border-top-color: #f1c40f;
  border-right-color: skyblue;
  border-bottom-color: violet;
  border-left-color: lightgray;
}

.animating-circle+h4 {
  position: relative;
  top: 120px;
}
<div class='animating-circle'></div>
<h4>Title is here</h4>
Daniel_Knights
  • 7,940
  • 4
  • 21
  • 49
cantoraman
  • 56
  • 3

0 Answers0