打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Aprilfool.css:修订间差异

MediaWiki界面页面
琪露若
琪露若留言 | 贡献 (创建页面,内容为“@keyframes moveRight { from { transform: translateX(-200px); } to { transform: translateX(110vw); } } .moving-image-random { position: fixed; z-index: 9999; animation: moveRight linear forwards; width: 100px; }”)
 
琪露若
琪露若留言 | 贡献 (换成动图)
 
第4行: 第4行:
}
}


.moving-image-random {
@keyframes swapImage {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
 
.moving-wrapper {
     position: fixed;
     position: fixed;
     z-index: 9999;
     z-index: 9999;
     animation: moveRight linear forwards;  
     animation: moveRight linear forwards;
     width: 100px;
     width: 100px;
    height: 100px;
}
.moving-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: swapImage 0.2s steps(1) infinite;
}
.moving-wrapper img:nth-child(2) {
    animation-delay: 0.1s;
}
}

2026年4月1日 (三) 06:39的最新版本

@keyframes moveRight {
    from { transform: translateX(-200px); }
    to { transform: translateX(110vw); }
}

@keyframes swapImage {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.moving-wrapper {
    position: fixed;
    z-index: 9999;
    animation: moveRight linear forwards;
    width: 100px;
    height: 100px;
}

.moving-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: swapImage 0.2s steps(1) infinite;
}

.moving-wrapper img:nth-child(2) {
    animation-delay: 0.1s;
}