.redPackets-box {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate3d(-50%, -50%, 0);
transform: translate3d(-50%, -50%, 0);
.redPackets {
width: 200px;
height: 200px;
animation: bounce 0.8s ease-out;
}
}
在全页面居中
猜你喜欢
转载自blog.csdn.net/weixin_43837268/article/details/102638329
今日推荐
周排行