css+js实现弥红灯发光多彩文字跳动动画效果代码
代码语言:html
所属分类:动画
代码描述:css+js实现弥红灯发光多彩文字跳动动画效果代码
代码标签: css js 弥红灯 发光 多彩 文字 跳动 动画
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link href="https://fonts.googleapis.com/css?family=Jua&display=swap" rel="stylesheet"> <style> :root { --blur-1: 50px; --blur-2: 50px; --blur-3: 50px; --blur-4: 50px; --blur-5: 50px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { background-color: #0A1224; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; font-family: "Jua", sans-serif; } h1 { color: white; font-size: 9rem; letter-spacing: 12px; } span { will-change: scale; transition: 0.9s ease; position: relative; display: inline-block; transform: scale(1); } span:after { content: ""; position: absolute; transform: scaleX(-1) rotateZ(130deg) skewY(30deg); bottom: -100px; transition: 0.9s ease; left: 0; color: inherit; } span:nth-child(1) { text-shadow: 3px 0px 10px #E3306D; color: #E3306D; } span:nth-child(1):after { content: "A"; filter: blur(var(--blur-1)); } span:nth-child(2) { text-shadow: 3px 0px 10px #F157EF; color: #F157EF; } span:nth-child(2):after { content: "a"; filter: blur(var(--blur-2)); } span:nth-child(3) { text-shadow: 3px 0px 10px #FEB3FF; color: #FEB3FF; } span:nth-child(3):after { content: "r"; filte.........完整代码请登录后点击上方下载按钮下载查看
网友评论0