Why centering used to be frustrating
Modern alignment is much simpler because the browser finally gives us the right primitives.
Before Flexbox and Grid, vertical centering often meant brittle tricks: absolute positioning plus transforms, fake table cells, negative margins or line-height hacks.
Those approaches were fragile, hard to maintain and easy to break when content became dynamic.
Today, modern layout systems give us native, readable and production-safe tools for the same job.