Comment Comment by antonkm Why not: .center { display: flex; justify-content: center; align-items: center; } ? parent antonkm 6 years ago