position: fixed;
top:50%;
left: 50%;
transform: translate(-50%, -50%);
转载于:https://www.cnblogs.com/yangjing1314/p/8608379.html
position: fixed;
top:50%;
left: 50%;
transform: translate(-50%, -50%);
转载于:https://www.cnblogs.com/yangjing1314/p/8608379.html