dandanyajin
今天更新博客了吗?

 

  background: linear-gradient(0deg, #09AFE8 0%, #23E3AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

 

变为

    <svg width="100%" height="69">
          <defs>
            <linearGradient id="gradst" x1="0%" y1="0%" x2="0%" y2="100%">
                  <stop offset="0%" style="stop-color:#09AFE8; stop-opacity:1" />
                    <stop offset="100%" style="stop-color:#23E3AB; stop-opacity:1" />
                </linearGradient>
          </defs>
            <text x="0" y="56" fill="url(#gradst)" :class="['card_body']" style="font-family: DIN-Bold;cursor:pointer;">{{ total1 }}</text>
        </svg>

 

posted on 2022-05-19 10:51  dandanyajin  阅读(90)  评论(0编辑  收藏  举报