-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbarrycap.html
146 lines (146 loc) · 6.11 KB
/
barrycap.html
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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="https://barrycap.com/assets/favicon.ico"/>
<script src="https://barrycap.com/googleanalytics.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GY5Q2KLJ19"></script>
<script async src="/script.js"></script>
<title>Barry Cap › Barry Cap</title>
<style>
body {
background: #000;
background-image: linear-gradient(#0008, #2228), url(https://barrycap.com/assets/bg/scan.png);
font-family: "FMB", "Brown", sans-serif;
margin: 20vh 0 0 16vw;
overflow: hidden;
animation: home 1s linear infinite;
}
.glitch {
color: #8888;
font-size: 15vw;
text-shadow: 0 0 2vw #8cf8;
position: relative;
width: 100vw;
height: 50vh;
margin: 0 auto;
animation: bug3 4s infinite linear;
}
.glitch:hover {
color: #fff;
opacity: 0.75;
animation: bug3 0.1s infinite linear alternate-reverse;
cursor: grab;
}
.glitch:active {
color: #fff;
opacity: 1;
animation: bug3 10s infinite linear;
cursor: grabbing;
}
.glitch::after {
color: #fff;
opacity: 1;
content: attr(data-text);
position: absolute;
left: 0.1vw;
text-shadow: 0.2vw 0 0.1vw #00f;
top: 0;
color: white;
overflow: hidden;
animation: bug 2s infinite ease-in-out alternate-reverse;
}
.glitch::before {
color: #fff;
opacity: 1;
content: attr(data-text);
position: absolute;
left: -0.1vw;
text-shadow: -0.2vw 0 0.1vw #f00;
top: 0;
color: white;
overflow: hidden;
animation: bug2 16s infinite linear alternate-reverse;
}
@keyframes bug {
0% { clip-path: inset(89% 0 11% 0); }
5% { clip-path: inset(19% 0 52% 0); }
10% { clip-path: inset( 8% 0 20% 0); }
15% { clip-path: inset(66% 0 17% 0); }
20% { clip-path: inset(16% 0 11% 0); }
25% { clip-path: inset( 8% 0 80% 0); }
30% { clip-path: inset(62% 0 7% 0); }
35% { clip-path: inset(74% 0 21% 0); }
40% { clip-path: inset(36% 0 43% 0); }
45% { clip-path: inset(64% 0 11% 0); }
50% { clip-path: inset(62% 0 21% 0); }
55% { clip-path: inset(65% 0 26% 0); }
60% { clip-path: inset(58% 0 37% 0); }
65% { clip-path: inset(17% 0 8% 0); }
70% { clip-path: inset(10% 0 79% 0); }
75% { clip-path: inset(41% 0 23% 0); }
80% { clip-path: inset(59% 0 20% 0); }
85% { clip-path: inset(66% 0 6% 0); }
90% { clip-path: inset(57% 0 26% 0); }
95% { clip-path: inset(29% 0 28% 0); }
100% { clip-path: inset(54% 0 29% 0); }
}
@keyframes bug2 {
0% { clip-path: inset(51% 0 12% 0); }
5% { clip-path: inset(94% 0 3% 0); }
10% { clip-path: inset(82% 0 10% 0); }
15% { clip-path: inset(89% 0 5% 0); }
20% { clip-path: inset( 4% 0 92% 0); }
25% { clip-path: inset(39% 0 10% 0); }
30% { clip-path: inset( 6% 0 95% 0); }
35% { clip-path: inset(23% 0 58% 0); }
40% { clip-path: inset(36% 0 19% 0); }
45% { clip-path: inset(91% 0 7% 0); }
50% { clip-path: inset(47% 0 6% 0); }
55% { clip-path: inset(45% 0 34% 0); }
60% { clip-path: inset(78% 0 2% 0); }
65% { clip-path: inset(72% 0 1% 0); }
70% { clip-path: inset(54% 0 14% 0); }
75% { clip-path: inset(45% 0 47% 0); }
80% { clip-path: inset(36% 0 47% 0); }
85% { clip-path: inset(77% 0 23% 0); }
90% { clip-path: inset(66% 0 13% 0); }
95% { clip-path: inset(71% 0 10% 0); }
100% { clip-path: inset(94% 0 5% 0); }
}
@keyframes bug3 {
0% { clip-path: inset( 6% 0 4%-99% ); text-shadow: 2vw 1vw 2vw #8cf8; }
5% { clip-path: inset( 7% 0 3%-99% ); text-shadow: 0.5vw 0 2vw #8cf5; }
10% { clip-path: inset( 5% 0 4%-99% ); text-shadow: -2vw 0 0 #8cf8; }
15% { clip-path: inset( 1% 0 6%-99% ); text-shadow: 0 0 2vw #8cf9; }
20% { clip-path: inset( 7% 0 9%-99% ); }
25% { clip-path: inset( 15% 2% 10%-90% ); text-shadow: 0 2vw 4vw #fc84; }
30% { clip-path: inset( 12% 0 95%-99% ); }
35% { clip-path: inset( 6% 0 15%-99% ); text-shadow: 0 0 2vw #8cf4; }
40% { clip-path: inset( 5% 2% 19%-99% ); text-shadow: 0 0 2vw #8cf8; }
45% { clip-path: inset( 10% 0 7%-70% ); text-shadow: -2vw 0 1vw #8cfb; }
49% { clip-path: inset( 10% 0 7%-70% ); text-shadow: -2vw -1vw 0 #8cf7; }
50% { clip-path: inset( 2%-15% 6%-99% ); text-shadow: 1vw 0 0 #8cfa; }
55% { clip-path: inset(-59% 0 12%-50% ); text-shadow: -1vw 0 0 #8cf6; }
60% { clip-path: inset(-54% 0 2%-99% ); text-shadow: 0 0.5vw 0 #8cf8; }
69% { clip-path: inset(-99% 0 1%-99% ); text-shadow: 0 0 2vw #fc89; }
70% { clip-path: inset(-47% 0 14%-99% ); text-shadow: 4vw 0 16vw #8cf8; }
75% { clip-path: inset(-20% 0 4%-99% ); text-shadow: 0 0 2vw #8cf6; }
80% { clip-path: inset(-54% 0 8%-78% ); }
85% { clip-path: inset(-56% 0 2%-99% ); }
90% { clip-path: inset(-11% 10% 13%-99% ); text-shadow: 0 0 2vw #8cf7; }
95% { clip-path: inset(-55% 0 10%-99% ); text-shadow: 1vw 0 0 #8cf6; }
100% { clip-path: inset(-23% 4% 5%-99% ); text-shadow: -3vw 0.5vw 2vw #8ff9; }
}
@keyframes home { 100% { background-position: 0 1024px; } }
@font-face {
font-family: "FMB";
src: url(https://barrycap.com/assets/fonts/fmb.ttf)format("truetype");
}
::selection { color: #000; background: #0000; }
::-moz-selection { color: #000; background: #0000; }
</style>
</head>
<body>
<div class="glitch" data-text="Barry Cap">Barry Cap</div>
</body>
</html>