跳转到内容

模板:跳脸/style.css

来自电棍ottowiki
OctoberSama留言 | 贡献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;
}