Deep Compute interview question

write a code to center align a container horizontally and vertically