世外桃源 发表于 2024-9-29 12:13

四字词语 继续欢迎大家一起玩


<style>
.svg {
        border: 1px solid gray;
        background: linear-gradient(45deg, tan, transparent, teal);
}
.text {
        font: bold 160px monospace;
        fill: none;
        stroke-width: 6;
        stroke-dasharray: 0 300;
        stroke-dashoffset: 0;
        filter: drop-shadow(0 0 6px #333);
}
.text:nth-child(3n + 1) {
        stroke: red;
        animation: stroke1 10s infinite alternate;
}
.text:nth-child(3n + 2) {
        stroke: green;
        animation: stroke2 10s infinite alternate;
}
.text:nth-child(3n + 3) {
        stroke: blue;
        animation: stroke3 10s infinite alternate;
}
@keyframes stroke1 {
        to { stroke-dasharray: 80 160; stroke-dashoffset: 1000; }
}
@keyframes stroke2 {
        to { stroke-dasharray: 80 160; stroke-dashoffset: 1080; }
}
@keyframes stroke3 {
        to { stroke-dasharray: 80 160; stroke-dashoffset: 1160; }
}
</style>

<svg width="800" height="300" viewBox="0 0 800 300" class="svg">
        <symbol id="hc">
                <text text-anchor="middle" x="50%" y="50%" dy="60px">四字词语</text>
        </symbol>
        <use href="#hc" class="text"></use>
        <use href="#hc" class="text"></use>
        <use href="#hc" class="text"></use>
</svg>

世外桃源 发表于 2024-9-29 12:15


<style>
.svg {
        border: 1px solid gray;
        background: linear-gradient(45deg, tan, transparent, teal);
}
.text {
        font: bold 160px monospace;
        fill: none;
        stroke-width: 6;
        stroke-dasharray: 0 300;
        stroke-dashoffset: 0;
        filter: drop-shadow(0 0 6px #333);
}
.text:nth-child(3n + 1) {
        stroke: red;
        animation: stroke1 10s infinite alternate;
}
.text:nth-child(3n + 2) {
        stroke: green;
        animation: stroke2 10s infinite alternate;
}
.text:nth-child(3n + 3) {
        stroke: blue;
        animation: stroke3 10s infinite alternate;
}
@keyframes stroke1 {
        to { stroke-dasharray: 80 160; stroke-dashoffset: 1000; }
}
@keyframes stroke2 {
        to { stroke-dasharray: 80 160; stroke-dashoffset: 1080; }
}
@keyframes stroke3 {
        to { stroke-dasharray: 80 160; stroke-dashoffset: 1160; }
}
</style>

<svg width="800" height="300" viewBox="0 0 800 300" class="svg">
        <symbol id="hc1">
                <text text-anchor="middle" x="50%" y="50%" dy="60px">欢迎欢迎</text>
        </symbol>
        <use href="#hc1" class="text"></use>
        <use href="#hc1" class="text"></use>
        <use href="#hc1" class="text"></use>
</svg>

世外桃源 发表于 2024-9-29 12:15

四面八方

世外桃源 发表于 2024-9-29 12:16

张三李四

世外桃源 发表于 2024-9-29 12:16

再三再四

世外桃源 发表于 2024-9-29 12:16

四海为家

荷戈使者 发表于 2024-9-29 12:19

家徒四壁

荷戈使者 发表于 2024-9-29 12:20

壁垒森严

荷戈使者 发表于 2024-9-29 12:20

严丝合缝

愤怒的葡萄 发表于 2024-9-29 13:25

左右逢源

愤怒的葡萄 发表于 2024-9-29 13:25

源远流长

愤怒的葡萄 发表于 2024-9-29 13:25

长治久安

愤怒的葡萄 发表于 2024-9-29 13:38

安邦定国

愤怒的葡萄 发表于 2024-9-29 13:38

国难当头

愤怒的葡萄 发表于 2024-9-29 13:39

头头是道

愤怒的葡萄 发表于 2024-9-29 13:39

道听途说

愤怒的葡萄 发表于 2024-9-29 13:39

说三道四

愤怒的葡萄 发表于 2024-9-29 13:39

四面楚歌

愤怒的葡萄 发表于 2024-9-29 13:39

歌舞升平

愤怒的葡萄 发表于 2024-9-29 13:39

平平凡凡
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 四字词语 继续欢迎大家一起玩