zoukankan      html  css  js  c++  java
  • 文字和背景渐变动效

    1.文字渐变动效         

             h1{color: #f35626;
      background-image: -webkit-linear-gradient(92deg,#f35626,#feab3a);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      -webkit-animation: hue 60s infinite linear;
      }
    @-webkit-keyframes hue {
            from {-webkit-filter: hue-rotate(0deg)}
            to {-webkit-filter: hue-rotate(-360deg)}
              }

    2.背景渐变动效 

             h1{color: #fff;
      background-image: -webkit-linear-gradient(92deg,#f35626,#feab3a);   
      -webkit-animation: hue 60s infinite linear;
      }
    @-webkit-keyframes hue {
             from {-webkit-filter: hue-rotate(0deg)}
             to {-webkit-filter: hue-rotate(-360deg)}
            }
  • 相关阅读:
    1
    最大子串
    线段树
    mybatis分页插件
    springmvc下载文件
    获“领跑衫”感言
    finnal 评论 II
    用户使用报告
    事后诸葛亮会议 (尸体解剖)
    final阶段成员贡献分
  • 原文地址:https://www.cnblogs.com/NatChen/p/8867264.html
Copyright © 2011-2022 走看看