CSS抖音特效

第一种 #h1{ font-family: "微软雅黑,sans-serif"; font-size: 48px; font-weight: 500; width: 400px; height: 100px; } #h1 { animation: uk-text-shadow-glitch .65s cubic-bezier(1, -2.91, 0, 3.79) 0s infinite normal both running; } @keyframes uk-text-shadow-glitch { 0% { ...

read more..

CSS

渐变背景 background: linear-gradient(direction,color-stop1,color-stop2,...); 第一个参数是方向,后面的是颜色值 direction: 类型1:to right //向右渐变,除此之外还有上下左右... 类型2:to right top //向右上渐变....[同理] 类型3:45deg //直接给个角度 animation动画 <style> // 设置动画 @keyframes move { ...

read more..