.container { width: 100vw; height: 100vh; display: flex; /* Default Axis is X*/ justify-content: center; /* Main Axis */ align-items: center; /* Cross Axis */ } .indicator{ width: 50vw; } .center { align-items: center; display: flex; justify-content: center; height: 100%; width: 100%; }