您当前的位置: 首页 >  css

知其黑、受其白

暂无认证

  • 5浏览

    0关注

    1250博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

CSS制作动态闪光文字

知其黑、受其白 发布时间:2021-06-30 18:39:18 ,浏览量:5

在这里插入图片描述

DOCTYPE html>


    
    
    Document
    
        text {
            font-size: 50px;
            stroke: red;
            stroke-width: 2;
            stroke-dasharray: 0;
        }
        .text1 {
            stroke: yellow;
            animation: text1 10s infinite;
        }
        .text2 {
            stroke: blue;
            animation: text2 10s infinite;

        }
        .text3 {
            stroke: #CD7F32 ;
            animation: text3 10s infinite;

        }
        @keyframes text1 {
            0%,100% {
                stroke-dasharray: 20;
            }
            50% {
                stroke-dasharray: 250;
            }
        }
        @keyframes text2 {
            0%,100% {
                stroke-dasharray: 233;
            }
            50% {
                stroke-dasharray: 20;
            }
        }
        @keyframes text3 {
            0%,100% {
                stroke-dasharray: 188;
            }
            50% {
                stroke-dasharray: 10;
            }
        }
    


    
        
            我爱撸码
            我爱撸码
            我爱撸码
            我爱撸码
        
    



关注
打赏
1665558895
查看更多评论
立即登录/注册

微信扫码登录

0.0813s