style.css:修订间差异
模板页面
更多操作
![]() OctoberSama(留言 | 贡献) 小 |
![]() OctoberSama(留言 | 贡献) 小 |
||
第1行: | 第1行: | ||
@keyframes | @keyframes zoomThenHide { | ||
0% { | 0% { | ||
opacity: 0; | opacity: 0; | ||
transform: translate(-50%, -50%) scale(0.1); | transform: translate(-50%, -50%) scale(0.1); | ||
} | } | ||
13% { | |||
opacity: 1; | opacity: 1; | ||
transform: translate(-50%, -50%) scale(1); | |||
} | |||
87% { | |||
opacity: 1; | |||
transform: translate(-50%, -50%) scale(1); | |||
} | } | ||
100% { | 100% { | ||
opacity: | opacity: 0; | ||
transform: translate(-50%, -50%) scale( | transform: translate(-50%, -50%) scale(1); | ||
} | } | ||
} | } | ||
第21行: | 第26行: | ||
max-width: 100vw !important; | max-width: 100vw !important; | ||
max-height: 100vh !important; | max-height: 100vh !important; | ||
object-fit: contain !important; | object-fit: contain !important; | ||
transform: translate(-50%, -50%) scale(0.1); | |||
animation: zoomThenHide 2.3s ease-out forwards; | |||
z-index: 99999 !important; | z-index: 99999 !important; | ||
display: block !important; | display: block !important; | ||
} | } |
2025年5月18日 (日) 15:08的版本
@keyframes zoomThenHide {
0% {
opacity: 0;
transform: translate(-50%, -50%) scale(0.1);
}
13% {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
87% {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
100% {
opacity: 0;
transform: translate(-50%, -50%) scale(1);
}
}
.zoom-fullscreen {
position: fixed !important;
top: 50% !important;
left: 50% !important;
width: auto !important;
height: auto !important;
max-width: 100vw !important;
max-height: 100vh !important;
object-fit: contain !important;
transform: translate(-50%, -50%) scale(0.1);
animation: zoomThenHide 2.3s ease-out forwards;
z-index: 99999 !important;
display: block !important;
}