“Widget:Sandbox”的版本间差异

添加425字节 、​ 2022年4月21日 (四) 13:23
//使用页面/文本对比查看器快速编辑
(//使用页面/文本对比查看器快速编辑)
(//使用页面/文本对比查看器快速编辑)
 
(未显示同一用户的7个中间版本)
<noinclude>{{info|text=这里是Widget沙盒,管理员用户可以使用以下预先准备的框架进行编辑测试。}}</noinclude><includeonly><!--{if !isset($wgSandbox) || !$wgSandbox}--><!--{assign var="wgSandbox" value=true scope="global"}--><style>
#sif-canvas, #sif-origin, .sif-nine, sif-note {
box-sizing: border-box;
.sif-nine, .sif-note {
position: absolute;
insettop: 0;
bottom: 0;
left: 0;
right: 0;
z-index: -1;
}
#sif-canvas:hover .sif-note.pos1 {
animation: sif1 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos2 {
animation: sif2 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos3 {
animation: sif3 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos4 {
animation: sif4 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos5 {
animation: sif5 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos6 {
animation: sif6 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos7 {
animation: sif7 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos8 {
animation: sif8 3s linear forwards;
}
#sif-canvas:hover .sif-note.pos9 {
animation: sif9 3s linear forwards;
}
@keyframekeyframes sif1 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(-150px, 0);
opacity: 0;
}
}
@keyframekeyframes sif2 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(-138.582px, 57.403px);
opacity: 0;
}
}
@keyframekeyframes sif3 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(-106.066px, 106.066px);
opacity: 0;
}
}
@keyframekeyframes sif4 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(-57.403px, 138.582px);
opacity: 0;
}
}
@keyframekeyframes sif5 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(0, 150px);
opacity: 0;
}
}
@keyframekeyframes sif6 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(57.403px, 138.582px);
opacity: 0;
}
}
@keyframekeyframes sif7 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(106.066px, 106.066px);
opacity: 0;
}
}
@keyframekeyframes sif8 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(138.582px, 57.403px);
opacity: 0;
}
}
@keyframekeyframes sif9 {
from0% {
transform: none;
}
to99% {
opacity: 1;
}
100% {
transform: translate(150px, 0);
opacity: 0;
}
}
</style><script>
<script>
window.addEventListernaddEventListener('jquery', () => {
const $circle = $('`<${'div>'}>`, {class: 'sif-note pos5'});
for (let i = 0; i < 1000; i++) {
$circle.clone().appendTo('#sif-origin').css('animation-delay', `${i}s`);
16,874

个编辑