SOURCE

console 命令行工具 X clear

                    
>
console
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>demo</title>
  <style>
  
    body{
      background: #fff;
    }
    
    .demo {
        font-weight: bold;
        color: #000;
        background: red linear-gradient( 90deg, transparent 25%,#FFD200 40%, #F7971E 60%,transparent);
        background-size: 60px 60px;
        background-repeat: no-repeat;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: scratchy 3s linear infinite;
    }

    @keyframes scratchy {
        0% {
            background-position: -100% 0;
        }
        100% {
            background-position: 130% 0;
        }
    }
  </style>
</head>
<body>
  <span class="demo">自定义文字颜色及高光颜呜呜呜呜呜呜呜色</span>
  <p>1212</p>
</body>
</html>