Profile Image icon and Spinner In center

I want to make a profile upload and camera icon like this but spinner in the ! center of person image while.
Annotation 2020-04-04 230805|189x155

How do you place the Spinner? Try position it like this:

position: relative;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;

For that the Container must have position: relative

Thank You so much @EinfachHans It work, postion with
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;