Web development · Flexbox

Centering, and pushing with auto

Putting a box in the middle of another, both ways, was a famous CSS puzzle for years, and flexbox turns it into a short recipe.