absolute+负margin

定宽高:

position: absolute

left: 50%

margin-left: -1/2width

原文地址:https://www.cnblogs.com/flyover/p/14330363.html