-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathai.html
More file actions
124 lines (106 loc) · 3.96 KB
/
ai.html
File metadata and controls
124 lines (106 loc) · 3.96 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
<!DOCTYPE html>
<html>
<head>
<title>GPT</title>
<style>
body {
margin: 0;
overflow: hidden;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: Arial, sans-serif;
}
.snowflake {
position: absolute;
top: -10px;
width: 5px;
height: 5px;
background-color: white;
border-radius: 50%;
animation: fall linear infinite;
}
@keyframes fall {
0% {
transform: translateY(-10px) translateX(0);
}
100% {
transform: translateY(100vh) translateX(10vw);
}
}
h1 {
font-size: 60px;
font-style: italic;
margin: 0;
color: white;
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white, 0 0 160px white;
animation: shadow-pulse 3s ease-in-out infinite;
cursor: pointer;
}
h1 span {
font-style: italic;
font-size: 54px;
display: inline-block;
transform: translateY(5px);
animation: letter-pulse 3s ease-in-out infinite;
}
@keyframes shadow-pulse {
0% {
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white, 0 0 160px white;
}
50% {
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white;
}
100% {
text-shadow: 0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white;
}
}
@keyframes letter-pulse {
0% {
transform: translateY(5px) scale(1);
}
50% {
transform: translateY(0) scale(1.2);
}
100% {
transform: translateY(5px) scale(1);
}
}
</style>
<body>
<h1><span onclick="playAudioAndRedirect()">download</span></h1>
<script>
function createSnowflake() {
const snowflake = document.createElement('div');
snowflake.className = 'snowflake';
snowflake.style.left = Math.random() * 100 + 'vw';
snowflake.style.animationDuration = 2 + Math.random() * 4 + 's';
snowflake.style.animationDelay = Math.random() * 1 + 's';
snowflake.style.opacity = Math.random() * 0.7 + 0.3;
document.body.appendChild(snowflake);
setTimeout(() => {
snowflake.remove();
}, (parseFloat(snowflake.style.animationDuration) + parseFloat(snowflake.style.animationDelay)) * 1000);
}
/* Sowwyz#1337 */
setInterval(createSnowflake, 100);
const title = document.querySelector('h1');
title.addEventListener('mouseenter', () => {
title.style.textShadow = '0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px #ff8c00, 0 0 80px #ff8c00, 0 0 160px #ff8c00';
title.style.cursor = 'pointer';
});
title.addEventListener('mouseleave', () => {
title.style.textShadow = '0 0 5px white, 0 0 10px white, 0 0 20px white, 0 0 40px white, 0 0 80px white, 0 0 160px white';
title.style.cursor = 'default';
});
/* Sowwyz#1337 */
function playAudioAndRedirect() {
setTimeout(() => {
window.location.href = "done.html";
}, 500);
}
</script>
</body>
</html>