SOURCE

console 命令行工具 X clear

                    
>
console
<svg class="tu1">
    <circle class="yuan"/>
    <text class="z1" x="28" y="135" >HY</text>
    <text class="z2" x="28" y="135" >HY</text>
    <text class="z3" x="28" y="135" >HY</text>
    <rect class="zhen"/>
</svg>
.tu1{
    width:500px;
    height: 500px;
    border: black 1px solid;
}
.yuan{
    cx:100px;
    cy:100px;
    r:100px;
    fill: white;
    animation: dong 5s infinite 0s;
}
@keyframes dong {
    0%{
        fill: black;
        
    }
    20%{
        fill:antiquewhite;
        
    }
    40%{
        fill:aquamarine;
        /* cx:200px; */
        transform: translate(200px,0px);
    }
    60%{
        fill:blueviolet;
    }
    80%{
        fill:brown;
    }
    100%{
        fill:rgb(48, 95, 224);
    }
}
.z1{
    font-size: 100px;
    font-weight: 900;
    stroke:rgb(186, 12, 230);
    stroke-width: 3px;
    stroke-dasharray: 10px;
    fill: none;
    animation: zi1 5s infinite;
}
.z2{
    font-size: 100px;
    font-weight: 900;
    stroke:lightseagreen;
    stroke-width: 3px;
    stroke-dasharray: 12px;
    fill: none;
    animation: zi2 5s infinite;
}
.z3{
    font-size: 100px;
    font-weight: 900;
    stroke:blue;
    stroke-width: 3px;
    stroke-dasharray: 15px;
    fill: none;
    animation: zi3 5s infinite;
}
@keyframes zi1{
    0%{
    font-size: 100px;
    font-weight: 900;
    stroke:rgb(186, 12, 230);
    stroke-width: 2px;
    stroke-dasharray: 5px;
    fill: none;
    }
    20%{
    font-size: 100px;
    font-weight: 900;
    stroke:rgb(186, 12, 230);
    stroke-width: 2px;
    stroke-dasharray: 10px;
    fill: none;
    }
    40%{
    font-size: 100px;
    font-weight: 900;
    stroke:rgb(186, 12, 230);
    stroke-width: 2px;
    stroke-dasharray: 15px;
    transform: translate(200px,0px);
    fill: none;
    }
    60%{
    font-size: 100px;
    font-weight: 900;
    stroke:rgb(186, 12, 230);
    stroke-width: 2px;
    stroke-dasharray: 20px;
    fill: none;
    }
    80%{
    font-size: 100px;
    font-weight: 900;
    stroke:rgb(186, 12, 230);
    stroke-width: 2px;
    stroke-dasharray: 15px;
    fill: none;
    }
    100%{
    font-size: 100px;
    font-weight: 900;
    stroke:rgb(186, 12, 230);
    stroke-width: 2px;
    stroke-dasharray: 10px;
    fill: none;
    }
}
@keyframes zi2{
    0%{
    font-size: 100px;
    font-weight: 900;
    stroke:lightseagreen;
    stroke-width: 3px;
    stroke-dasharray: 15px;
    fill: none;
    }
    20%{
    font-size: 100px;
    font-weight: 900;
    stroke:lightseagreen;
    stroke-width: 3px;
    stroke-dasharray: 20px;
    fill: none;
    }
    40%{
    font-size: 100px;
    font-weight: 900;
    stroke:lightseagreen;
    stroke-width: 3px;
    stroke-dasharray: 25px;
    transform: translate(200px,0px);
    fill: none;
    }
    60%{
    font-size: 100px;
    font-weight: 900;
    stroke:lightseagreen;
    stroke-width: 3px;
    stroke-dasharray: 30px;
    fill: none;
    }
    80%{
    font-size: 100px;
    font-weight: 900;
    stroke:lightseagreen;
    stroke-width: 3px;
    stroke-dasharray: 35px;
    fill: none;
    }
    100%{
    font-size: 100px;
    font-weight: 900;
    stroke:lightseagreen;
    stroke-width: 3px;
    stroke-dasharray: 40px;
    fill: none;
    }
}
@keyframes zi3{
    0%{
    font-size: 100px;
    font-weight: 900;
    stroke:blue;
    stroke-width: 4px;
    stroke-dasharray: 30px;
    fill: none;
    }
    20%{
     font-size: 100px;
    font-weight: 900;
    stroke:blue;
    stroke-width: 4px;
    stroke-dasharray: 50px;
    fill: none;
    }
    40%{
     font-size: 100px;
    font-weight: 900;
    stroke:blue;
    stroke-width: 4px;
    stroke-dasharray: 40px;
    transform: translate(200px,0px);
    fill: none;
    }
    60%{
     font-size: 100px;
    font-weight: 900;
    stroke:blue;
    stroke-width: 4px;
    stroke-dasharray: 30px;
    fill: none;
    }
    80%{
     font-size: 100px;
    font-weight: 900;
    stroke:blue;
    stroke-width: 4px;
    stroke-dasharray: 40px;
    fill: none;
    }
    100%{
     font-size: 100px;
    font-weight: 900;
    stroke:blue;
    stroke-width: 4px;
    stroke-dasharray: 50px;
    fill: none;
    }
}
.zhen{
    width:150px;
    height:5px;
    x:50%;
    y:50%;
    transform-origin: 50%;
    animation: zhendh 10s infinite;
}
@keyframes zhendh{
    0%{
        transform: rotate(0deg);
    }
    10%{
        transform: rotate(36deg);
    }
    20%{
        transform: rotate(72deg);
    }
    30%{
        transform: rotate(108deg);
    }
    40%{
        transform: rotate(144deg);
    }
    50%{
        transform: rotate(180deg);
    }
    60%{
        transform: rotate(216deg);
    }
    70%{
        transform: rotate(252deg);
    }
    80%{
        transform: rotate(288deg);
    }
    90%{
        transform: rotate(324deg);
    }
    100%{
        transform: rotate(360deg);
    }
}