css文字跳动阴影动画效果
代码语言:html
所属分类:动画
代码描述:css文字跳动阴影动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css2?family=Titan+One&display=swap"); .wrapper { width: 100vw; text-align: center; } .wrapper span { -webkit-text-stroke-width: 1.25px; -webkit-text-stroke-color: #000; font-size: 100px; text-shadow: 0 0px #f3c623, 0 0px #f2aaaa; transform: translate(0, 100%) rotate(4deg); animation: jump 2s ease-in-out infinite; display: inline-block; font-family: "Titan One", cursive; color: #fff; } .wrapper span:nth-child(1) { animation-delay: 120ms; } .wrapper span:nth-child(2) { animation-delay: 240ms; } .wrapper span:nth-child(3) { animation-delay: 360ms; } .wrapper span:nth-child(4) { animation-delay: 480ms; } .wrapper span:nth-child(5) { animation-delay: 600ms; } .wrapper span:nth-child(6) { animation-delay: 720ms; } .wrapper span:nth-child(7) { animation-delay: 840ms; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0