css-絶対中心

位置:絶対;

左:50%;

上:50%;

margin-left :-(幅の半分);

margin-top :-(自身の半分)

おすすめ

転載: www.cnblogs.com/500m/p/12695508.html