Trying to add the text "Upload Profile Picture" in the center of a circle image, but it seems to not display when the code is executed. See below for the HTML and CSS code snippet: https://i.sstatic.net/A42rI.png
<div class="small-12 medium-2 large-2 ">
<div class="circle upload-button d-flex mx-auto mb-4" style="position:unset;">
<img class="profile-pic" src="">
<div class="centered">Upload Profile Picture</div>
</div>
<input class="file-upload" type="file" accept="image/*"/ >
</div>
.profile-pic {
max-width: 222px;
max-height: 222px;
margin-left: auto;
margin-right: auto;
display: block;
}
.file-upload {
display: none;
}
.circle {
border-radius: 50%;
overflow: hidden;
width: 228px;
height: 228px;
border: 8px solid #dbdbdb;
position: absolute;
top: 72px;
transition: all .3s;
}
.circle:hover {
background-color: #909090;
cursor: pointer;
}
img {
max-width: 100%;
height: auto;
min-width: 212px;
min-height: 212px
}