css实现文字字母跳跃阴影动画效果代码
代码语言:html
所属分类:动画
代码描述:css实现文字字母跳跃阴影动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <link href="https://fonts.googleapis.com/css?family=Varela+Round&display=swap" rel="stylesheet"> <style> html,body { width:100%; height:100%; margin:0; background:#2d303a; overflow-y:hidden; } .bounce { display:flex; align-items:center; justify-content:center; width:100%; color:white; height:100%; font:normal bold 6rem "Product Sans",sans-serif; white-space:nowrap; } .letter { animation:bounce 0.75s cubic-bezier(0.05,0,0.2,1) infinite alternate; display:inline-block; transform:translate3d(0,0,0); margin-top:0.5em; text-shadow:rgba(255,255,255,0.4) 0 0 0.05em; font:normal 500 6rem 'Varela Round',sans-serif; } .letter:nth-child(1.........完整代码请登录后点击上方下载按钮下载查看
网友评论0