A modern CSS technique for centering absolutely-positioned elements using just three lines: `position: absolute`, `place-self: center`, and `inset: 0`. The post explains why the classic `top: 50%; left: 50%; translate: -50% -50%` approach still works but introduces the concept of the Inset-Modified Containing Block (IMCB) to

Sort: