filter 色相 360 度循环,一个色值变出全套颜色
← 返回 文字 类特效列表上方为纯 CSS 实时演示,直接将鼠标移上去 / 点击感受效果
.fx .hue{text-align:center;font-size:46px;font-weight:800;margin:50px 0;color:#4a9eff;text-shadow:0 0 18px rgba(74,158,255,.6);animation:kfx-hue 5s linear infinite}
@keyframes kfx-hue{to{filter:hue-rotate(360deg)}}<div class="fx">
<div class="hue">COLOR CYCLE</div>
</div>