{ display:table-cell; text-align:center; vertical-align:middle; } 转载于:https://www.cnblogs.com/wong-do/p/7849717.html