纯css实现洛菲合成波效果
代码语言:html
所属分类:布局界面
代码描述:纯css实现洛菲合成波效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> .home { height: 100vh; width: 100vw; background: linear-gradient(170deg, #000000 26%, #100634 44%, #54037e 49%, #a734c7 50%, #7b0093 50%, #8a1f7d 61%, #000000 72%, #000000 79%, #000000 87%, #000000 89%, #000000 89%, #000000 100%); font-weight: 36px; display: -webkit-box; display: flex; -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; } .lofi { padding-bottom: 250px; font-size: 4em; text-transform: uppercase; font-weight: bold; font-family: Arial; color: transparent; position: relative; display: block; letter-spacing: -15px; -webkit-transform: rotate(-10deg) skew(-20deg); transform: rotate(-10deg) skew(-20deg); margin-bottom: -36px; } .letter { -webkit-text-stroke: 10px #00ffee; margin-top: -8px; display: inline-block; padding: 0 1px; -webkit-animation: glow 2.5s linear infinite; animation: glow 2.5s linear infinite; } * { box-sizing: border-box; } h1 { margin-bottom: 0.5rem; font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; } @-webkit-keyframes glow { 0% { box-shadow: 0 0 -10px.........完整代码请登录后点击上方下载按钮下载查看
网友评论0