Template:跳脸/style.css
模板页面
更多操作
@keyframes zoomExpand {
0% {
opacity: 0;
transform: scale(0.1);
}
50% {
opacity: 1;
}
100% {
opacity: 1;
transform: scale(10); /* 放大倍数,根据屏幕大小调整 */
}
}
.zoom-expand {
position: fixed !important;
top: 50% !important;
left: 50% !important;
max-width: none !important;
max-height: none !important;
width: auto !important;
height: auto !important;
transform-origin: center center !important;
transform: translate(-50%, -50%) scale(0.1);
opacity: 0;
z-index: 9999 !important;
animation-name: zoomExpand;
animation-duration: 1s;
animation-fill-mode: forwards;
animation-timing-function: ease-out;
animation-delay: 0s;
}