zoukankan      html  css  js  c++  java
  • xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

    css text gradient color, css fonts gradient color

    css 字体渐变色

    demo

    https://codepen.io/xgqfrms/pen/OJyajmp

    gradient text & gradient background

    https://www.cnblogs.com/xgqfrms/p/11882034.html

    -webkit-background-clip & -webkit-text-fill-color

    .class{
        background-image: -webkit-gradient(linear,0% 0%,25% 100%,from(#ff2c2c),to(#7a5e91));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    
    .entry-title {
        font-size: 50px;
        font-weight: 500;
        margin: 20px 0;
        border-top: 2px solid #ecd018;
        border-bottom: 2px solid #ecd018;
        line-height: 1.4;
        padding: 20px 0;
        background-image: -webkit-gradient(linear,0% 0%,25% 100%,from(#ff2c2c),to(#7a5e91));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    
    
    <h1 class="postTitle">
        <a id="cb_post_title_url" class="postTitle2" href="https://www.cnblogs.com/xgqfrms/p/10897934.html">
            shit mint-ui & vue mobile ui components
        </a>
    </h1>
    
    
    
    .postTitle {
        background-image: linear-gradient(to right, red, orange, yellow, green, yellow, orange, red, orange, yellow, green, yellow, orange, red);
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        -webkit-background-size: 200% 100%;
        -webkit-animation: word-color-animation 5s infinite linear;
    }
    
    

    Flag Counter

    ©xgqfrms 2012-2020

    www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


  • 相关阅读:
    学习笔记-级数
    闭包
    superfetch服务到底该不该关闭
    用tor进入“深网”
    浏览器内核
    媒体查询实现响应式布局
    oracle用浏览器界面管理数据库
    angular登录状态检查
    从输入网址后。。。。。。
    原型
  • 原文地址:https://www.cnblogs.com/xgqfrms/p/12913451.html
Copyright © 2011-2022 走看看