翻译自:https://css-tricks.com/centering-css-complete-guide/ Centering things in CSS is the poster child of CSS complaining. Why does it have to be so hard? They jeer. I think the issue isn't that it's difficult to do, but in that there so many different…