-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrickwall.html
More file actions
194 lines (180 loc) · 4.32 KB
/
brickwall.html
File metadata and controls
194 lines (180 loc) · 4.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Neon Brick Wall of Text </title>
<link rel="stylesheet" href="./style.css">
<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";
src: url("https://mattcannon.games/codepen/wall-of-text/neon-tubes-2.eot");
src: url("https://mattcannon.games/codepen/wall-of-text/neon-tubes-2.eot?#iefix")
format("embedded-opentype"),
url("https://mattcannon.games/codepen/wall-of-text/neon-tubes-2.woff2")
format("woff2"),
url("https://mattcannon.games/codepen/wall-of-text/neon-tubes-2.ttf")
format("truetype"),
url("https://mattcannon.games/codepen/wall-of-text/neon-tubes-2.otf")
format("opentype");
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%
),
linear-gradient(
180deg,
black 0%,
rgba(0, 0, 0, 0) 40%,
rgba(0, 0, 0, 0) 60%,
black 100%
),
url("https://mattcannon.games/codepen/wall-of-text/brick-wall.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
margin: -50vh -50vw;
}
.container::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to right,
transparent 0%,
transparent 80%,
rgba(0, 0, 0, 0.8) 100%
);
pointer-events: none;
opacity: 1;
z-index: 2;
}
.neon-wall {
position: relative;
z-index: 2;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.quote-wrapper {
width: 50%;
text-align: center;
line-height: 1.2;
margin-bottom: 2rem;
}
.neon {
font-size: 5vw;
text-transform: uppercase;
color: #fff;
text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 0, 108, 1),
0 0 30px rgba(255, 0, 108, 0.9), 0 0 40px rgba(255, 0, 108, 0.8),
0 0 60px rgba(255, 0, 108, 0.7);
animation: neon-flicker 6s infinite;
}
.author {
font-size: 3.5vw;
margin-top: 3rem;
color: #fff;
text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 15px rgba(0, 255, 255, 1),
0 0 30px rgba(0, 255, 255, 0.9), 0 0 40px rgba(0, 255, 255, 0.8),
0 0 60px rgba(0, 255, 255, 0.7);
animation: author-flicker 7s infinite;
}
@keyframes neon-flicker {
0%,
39%,
41%,
59%,
61%,
100% {
text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 15px rgba(255, 0, 108, 1),
0 0 30px rgba(255, 0, 108, 0.9), 0 0 40px rgba(255, 0, 108, 0.8),
0 0 60px rgba(255, 0, 108, 0.7);
}
40%,
60% {
text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 0, 108, 0.8),
0 0 20px rgba(255, 0, 108, 0.7), 0 0 30px rgba(255, 0, 108, 0.6);
}
85%,
85.5%,
86% {
text-shadow: none;
}
}
@keyframes author-flicker {
0%,
19%,
21%,
79%,
81%,
100% {
text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 15px rgba(0, 255, 255, 1),
0 0 30k rgba(0, 255, 255, 0.9), 0 0 40k rgba(0, 255, 255, 0.8),
0 0 60k rgba(0, 255, 255, 0.7);
}
20%,
80% {
text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 10k rgba(0, 255, 255, 0.8),
0 0 20k rgba(0, 255, 255, 0.7), 0 0 30k rgba(0, 255, 255, 0.6);
}
92%,
92.5%,
93% {
text-shadow: none;
}
}
</style>
</head>
<body>
<!-- partial:index.partial.html -->
<div class="container">
<div class="neon-wall">
<div class="quote-wrapper">
<h1 class="neon">Never tell the audience</h1>
<h1 class="neon">how good you are.</h1>
<h1 class="neon">They will soon find out</h1>
<h1 class="neon">for themselves.</h1>
<h4 class="author">Harry Houdini</h4>
</div>
</div>
</div>
<!-- partial -->
</body>
</html>