top: 50%;
left: 50%;
transform: translate(-50%,-50%);
不定宽高元素的水平垂直居中
猜你喜欢
转载自www.cnblogs.com/wwj007/p/11712956.html
今日推荐
周排行