当前位置: 首页 > 工具软件 > HUE.css > 使用案例 >

animate.css示例页颜色自动变化实现方法

阎冠玉
2023-12-01

css代码如下:

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);
  }


 类似资料: