style.css:修订间差异
模板页面
更多操作
![]() OctoberSama(留言 | 贡献) 小 |
![]() OctoberSama(留言 | 贡献) 小 |
||
第1行: | 第1行: | ||
@keyframes zoomExpand { | |||
0% { | |||
opacity: 0; | |||
transform: scale(0.1); | |||
} | |||
50% { | |||
opacity: 1; | |||
opacity: | } | ||
100% { | |||
opacity: 1; | |||
transform: scale(10); /* 放大倍数,根据屏幕大小调整 */ | |||
} | |||
} | } | ||
.zoom-expand { | |||
. | position: fixed !important; | ||
width: | top: 50% !important; | ||
height: | left: 50% !important; | ||
max-width: none !important; | |||
transform: scale(1); | 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; | |||
} | } |
2025年5月18日 (日) 14:44的版本
@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;
}