I have a circle in which I can't center the div with text. I tried with flexbox but it doesn't seem to work or I did it wrong.
This is the code
.circle {
border-radius: 50%;
transition: all 2s;
transition-delay: 0s;
background-color: #14b1e7;
width: 100%;
padding-top: 100%;
text-align: center;
}
.words {
font-size: 40px;
font-family: 'Montserrat', sans-serif;
display: flex;
animation-name: fade;
animation-delay: 4s;
animation-duration: 0.5s;
animation-timing-function: ease-out;
animation-iteration-count: forwards;
animation-direction: absolute;
font-weight: bold;
justify-content: center;
align-items: center;
}
<div class="circle">
<div class="words"></div>
<div class="words1"></div>
<div class="words2"></div>
</div>