div+css实现墙壁上的霓虹灯文字闪烁动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css实现墙壁上的霓虹灯文字闪烁动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
:root {
--author: "Matt Cannon";
--contact: "mc@mattcannon.design";
--description: "Glowing neon words set against a perspective brick wall. The combination of bold typography, vibrant animations, and textured design creates an immersive visual experience.";
--keywords: "neon text, typography, text animation, CSS art, glowing words, Houdini quote, wall of text, artistic design";
--last-modified: "2024-11-19";
--content-language: "en";
--generator: "HTML5, CSS3, JavaScript, Keyframes Animation";
--title: "Neon Wall of Text";
}
@font-face {
font-family: "neontubes2";
url("//repo.bfw.wiki/bfwrepo/bfwrepo/font/neon-tubes-2.woff2")
format("woff2");
font-weight: normal;
font-style: normal;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #000;
font-family: "neontubes2", sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
perspective: 1200px;
}
.container {
transform: rotateY(-40deg);
transform-origin: center;
width: 200vw;
height: 200vh;
background: linear-gradient(
90deg,
black 0%,
rgba(0, 0, 0, 0) 40%,
rgba(0, 0, 0, 0) 60%,
black 100%
),
li.........完整代码请登录后点击上方下载按钮下载查看
网友评论0