#wrap{ display:flex; justify-content:center; align-items:center; } 转载于:https://www.cnblogs.com/bbqwwb/p/7080979.html