Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +878 -19
- prompts.txt +1 -0
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
colorFrom: blue
|
5 |
-
colorTo:
|
6 |
sdk: static
|
7 |
pinned: false
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: transparetn
|
3 |
+
emoji: 🐳
|
4 |
colorFrom: blue
|
5 |
+
colorTo: red
|
6 |
sdk: static
|
7 |
pinned: false
|
8 |
+
tags:
|
9 |
+
- deepsite
|
10 |
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
@@ -1,19 +1,878 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>TRANSPARENT MICROINTERACTION MADNESS</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
9 |
+
<style>
|
10 |
+
@keyframes float {
|
11 |
+
0%, 100% { transform: translateY(0); }
|
12 |
+
50% { transform: translateY(-10px); }
|
13 |
+
}
|
14 |
+
|
15 |
+
@keyframes pulse-glow {
|
16 |
+
0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
|
17 |
+
50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
|
18 |
+
}
|
19 |
+
|
20 |
+
@keyframes spin {
|
21 |
+
0% { transform: rotate(0deg); }
|
22 |
+
100% { transform: rotate(360deg); }
|
23 |
+
}
|
24 |
+
|
25 |
+
@keyframes shake {
|
26 |
+
0%, 100% { transform: translateX(0); }
|
27 |
+
25% { transform: translateX(-5px); }
|
28 |
+
75% { transform: translateX(5px); }
|
29 |
+
}
|
30 |
+
|
31 |
+
@keyframes color-rotate {
|
32 |
+
0% { filter: hue-rotate(0deg); }
|
33 |
+
100% { filter: hue-rotate(360deg); }
|
34 |
+
}
|
35 |
+
|
36 |
+
/* Ultra transparent glass effects */
|
37 |
+
.aero-glass {
|
38 |
+
background: rgba(255, 255, 255, 0.08);
|
39 |
+
backdrop-filter: blur(16px) saturate(180%);
|
40 |
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
41 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
42 |
+
box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.15);
|
43 |
+
}
|
44 |
+
|
45 |
+
.aero-glass-dark {
|
46 |
+
background: rgba(0, 0, 0, 0.08);
|
47 |
+
backdrop-filter: blur(16px) saturate(180%);
|
48 |
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
49 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
50 |
+
}
|
51 |
+
|
52 |
+
.aero-glass-purple {
|
53 |
+
background: rgba(139, 92, 246, 0.1);
|
54 |
+
backdrop-filter: blur(16px) saturate(180%);
|
55 |
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
56 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
57 |
+
}
|
58 |
+
|
59 |
+
/* Ultra transparent gradient background */
|
60 |
+
.gradient-bg {
|
61 |
+
background: linear-gradient(135deg, rgba(110, 142, 251, 0.15) 0%, rgba(167, 119, 227, 0.15) 50%, rgba(247, 168, 184, 0.15) 100%);
|
62 |
+
background-size: 200% 200%;
|
63 |
+
animation: gradient 15s ease infinite;
|
64 |
+
}
|
65 |
+
|
66 |
+
@keyframes gradient {
|
67 |
+
0% { background-position: 0% 50%; }
|
68 |
+
50% { background-position: 100% 50%; }
|
69 |
+
100% { background-position: 0% 50%; }
|
70 |
+
}
|
71 |
+
|
72 |
+
/* Subtle hover effects */
|
73 |
+
.micro-hover:hover {
|
74 |
+
transform: scale(1.03) rotate(0.5deg);
|
75 |
+
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
76 |
+
backdrop-filter: blur(12px) saturate(200%);
|
77 |
+
background: rgba(255, 255, 255, 0.12);
|
78 |
+
}
|
79 |
+
|
80 |
+
.micro-active:active {
|
81 |
+
transform: scale(0.97);
|
82 |
+
transition: all 0.1s cubic-bezier(0.25, 0.8, 0.25, 1);
|
83 |
+
background: rgba(255, 255, 255, 0.15);
|
84 |
+
}
|
85 |
+
|
86 |
+
.micro-focus:focus {
|
87 |
+
outline: none;
|
88 |
+
box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.3);
|
89 |
+
animation: pulse-glow 2s infinite;
|
90 |
+
backdrop-filter: blur(12px) saturate(200%);
|
91 |
+
}
|
92 |
+
|
93 |
+
.float-animation {
|
94 |
+
animation: float 6s ease-in-out infinite;
|
95 |
+
}
|
96 |
+
|
97 |
+
.spin-on-hover:hover {
|
98 |
+
animation: spin 2s linear infinite;
|
99 |
+
}
|
100 |
+
|
101 |
+
.shake-on-click:active {
|
102 |
+
animation: shake 0.3s cubic-bezier(.36,.07,.19,.97) both;
|
103 |
+
}
|
104 |
+
|
105 |
+
.color-rotate {
|
106 |
+
animation: color-rotate 10s linear infinite;
|
107 |
+
}
|
108 |
+
|
109 |
+
/* Ultra subtle ripple effect */
|
110 |
+
.ripple {
|
111 |
+
position: relative;
|
112 |
+
overflow: hidden;
|
113 |
+
}
|
114 |
+
|
115 |
+
.ripple:after {
|
116 |
+
content: "";
|
117 |
+
display: block;
|
118 |
+
position: absolute;
|
119 |
+
width: 100%;
|
120 |
+
height: 100%;
|
121 |
+
top: 0;
|
122 |
+
left: 0;
|
123 |
+
pointer-events: none;
|
124 |
+
background-image: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
|
125 |
+
background-repeat: no-repeat;
|
126 |
+
background-position: 50%;
|
127 |
+
transform: scale(10, 10);
|
128 |
+
opacity: 0;
|
129 |
+
transition: transform .5s, opacity 1s;
|
130 |
+
}
|
131 |
+
|
132 |
+
.ripple:active:after {
|
133 |
+
transform: scale(0, 0);
|
134 |
+
opacity: 0.2;
|
135 |
+
transition: 0s;
|
136 |
+
}
|
137 |
+
|
138 |
+
/* Very subtle text glow */
|
139 |
+
.text-glow {
|
140 |
+
text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
|
141 |
+
}
|
142 |
+
|
143 |
+
.text-glow-hover:hover {
|
144 |
+
text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
|
145 |
+
transition: text-shadow 0.3s ease;
|
146 |
+
}
|
147 |
+
|
148 |
+
.border-glow {
|
149 |
+
box-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
|
150 |
+
}
|
151 |
+
|
152 |
+
.border-glow-hover:hover {
|
153 |
+
box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
|
154 |
+
transition: box-shadow 0.3s ease;
|
155 |
+
}
|
156 |
+
|
157 |
+
.parallax-bg {
|
158 |
+
background-attachment: fixed;
|
159 |
+
background-position: center;
|
160 |
+
background-repeat: no-repeat;
|
161 |
+
background-size: cover;
|
162 |
+
}
|
163 |
+
|
164 |
+
/* Subtle 3D tilt */
|
165 |
+
.tilt-on-hover {
|
166 |
+
transition: transform 0.5s ease, backdrop-filter 0.3s ease;
|
167 |
+
}
|
168 |
+
|
169 |
+
.tilt-on-hover:hover {
|
170 |
+
transform: perspective(1000px) rotateX(3deg) rotateY(3deg);
|
171 |
+
backdrop-filter: blur(14px) saturate(200%);
|
172 |
+
}
|
173 |
+
|
174 |
+
.bounce-on-hover:hover {
|
175 |
+
animation: bounce 0.5s;
|
176 |
+
}
|
177 |
+
|
178 |
+
@keyframes bounce {
|
179 |
+
0%, 100% { transform: translateY(0); }
|
180 |
+
50% { transform: translateY(-8px); }
|
181 |
+
}
|
182 |
+
|
183 |
+
.wiggle-on-hover:hover {
|
184 |
+
animation: wiggle 0.5s ease-in-out infinite;
|
185 |
+
}
|
186 |
+
|
187 |
+
@keyframes wiggle {
|
188 |
+
0%, 100% { transform: rotate(-2deg); }
|
189 |
+
50% { transform: rotate(2deg); }
|
190 |
+
}
|
191 |
+
|
192 |
+
.flip-on-hover:hover {
|
193 |
+
animation: flip 0.5s ease;
|
194 |
+
}
|
195 |
+
|
196 |
+
@keyframes flip {
|
197 |
+
0% { transform: rotateY(0); }
|
198 |
+
50% { transform: rotateY(180deg); }
|
199 |
+
100% { transform: rotateY(360deg); }
|
200 |
+
}
|
201 |
+
|
202 |
+
.expand-on-hover:hover {
|
203 |
+
transform: scale(1.05);
|
204 |
+
transition: transform 0.3s ease;
|
205 |
+
backdrop-filter: blur(14px) saturate(200%);
|
206 |
+
}
|
207 |
+
|
208 |
+
.squish-on-active:active {
|
209 |
+
transform: scale(0.95);
|
210 |
+
transition: transform 0.1s ease;
|
211 |
+
}
|
212 |
+
|
213 |
+
.rotate-on-scroll {
|
214 |
+
transition: transform 0.5s ease;
|
215 |
+
}
|
216 |
+
|
217 |
+
/* Fade-in animation */
|
218 |
+
.staggered-entry {
|
219 |
+
opacity: 0;
|
220 |
+
transform: translateY(10px);
|
221 |
+
transition: all 0.5s ease;
|
222 |
+
}
|
223 |
+
|
224 |
+
.staggered-entry.in-view {
|
225 |
+
opacity: 1;
|
226 |
+
transform: translateY(0);
|
227 |
+
}
|
228 |
+
|
229 |
+
.typewriter {
|
230 |
+
overflow: hidden;
|
231 |
+
border-right: 2px solid rgba(255,255,255,0.5);
|
232 |
+
white-space: nowrap;
|
233 |
+
animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
|
234 |
+
}
|
235 |
+
|
236 |
+
@keyframes typing {
|
237 |
+
from { width: 0 }
|
238 |
+
to { width: 100% }
|
239 |
+
}
|
240 |
+
|
241 |
+
@keyframes blink-caret {
|
242 |
+
from, to { border-color: transparent }
|
243 |
+
50% { border-color: rgba(255,255,255,0.5) }
|
244 |
+
}
|
245 |
+
|
246 |
+
/* Magnetic effect */
|
247 |
+
.magnetic {
|
248 |
+
display: inline-block;
|
249 |
+
transition: transform 0.2s ease;
|
250 |
+
}
|
251 |
+
|
252 |
+
.magnetic:hover {
|
253 |
+
transform: translate(var(--tx, 0), var(--ty, 0));
|
254 |
+
}
|
255 |
+
|
256 |
+
.glow-on-hover:hover {
|
257 |
+
filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
|
258 |
+
transition: filter 0.3s ease;
|
259 |
+
}
|
260 |
+
|
261 |
+
.breathing {
|
262 |
+
animation: breathing 3s ease-out infinite;
|
263 |
+
}
|
264 |
+
|
265 |
+
@keyframes breathing {
|
266 |
+
0%, 100% { transform: scale(1); }
|
267 |
+
50% { transform: scale(1.03); }
|
268 |
+
}
|
269 |
+
|
270 |
+
.jelly-on-click:active {
|
271 |
+
animation: jelly 0.5s;
|
272 |
+
}
|
273 |
+
|
274 |
+
@keyframes jelly {
|
275 |
+
0%, 100% { transform: scale(1, 1); }
|
276 |
+
25% { transform: scale(0.95, 1.05); }
|
277 |
+
50% { transform: scale(1.05, 0.95); }
|
278 |
+
75% { transform: scale(0.98, 1.02); }
|
279 |
+
}
|
280 |
+
|
281 |
+
.neon-flicker {
|
282 |
+
animation: neon-flicker 2s infinite alternate;
|
283 |
+
}
|
284 |
+
|
285 |
+
@keyframes neon-flicker {
|
286 |
+
0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
|
287 |
+
opacity: 1;
|
288 |
+
text-shadow: 0 0 8px rgba(255,255,255,0.5), 0 0 16px rgba(255,255,255,0.5), 0 0 24px rgba(139, 92, 246, 0.3);
|
289 |
+
}
|
290 |
+
20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
|
291 |
+
opacity: 0.7;
|
292 |
+
text-shadow: none;
|
293 |
+
}
|
294 |
+
}
|
295 |
+
|
296 |
+
.rainbow-text {
|
297 |
+
background: linear-gradient(to right,
|
298 |
+
rgba(255,0,0,0.7),
|
299 |
+
rgba(255,127,0,0.7),
|
300 |
+
rgba(255,255,0,0.7),
|
301 |
+
rgba(0,255,0,0.7),
|
302 |
+
rgba(0,0,255,0.7),
|
303 |
+
rgba(75,0,130,0.7),
|
304 |
+
rgba(148,0,211,0.7));
|
305 |
+
-webkit-background-clip: text;
|
306 |
+
background-clip: text;
|
307 |
+
color: transparent;
|
308 |
+
background-size: 400% 400%;
|
309 |
+
animation: rainbow 8s ease infinite;
|
310 |
+
}
|
311 |
+
|
312 |
+
@keyframes rainbow {
|
313 |
+
0% { background-position: 0% 50%; }
|
314 |
+
50% { background-position: 100% 50%; }
|
315 |
+
100% { background-position: 0% 50%; }
|
316 |
+
}
|
317 |
+
|
318 |
+
/* Ultra subtle particles */
|
319 |
+
.particles {
|
320 |
+
position: absolute;
|
321 |
+
top: 0;
|
322 |
+
left: 0;
|
323 |
+
width: 100%;
|
324 |
+
height: 100%;
|
325 |
+
overflow: hidden;
|
326 |
+
pointer-events: none;
|
327 |
+
z-index: -1;
|
328 |
+
}
|
329 |
+
|
330 |
+
.particle {
|
331 |
+
position: absolute;
|
332 |
+
width: 6px;
|
333 |
+
height: 6px;
|
334 |
+
background: rgba(255, 255, 255, 0.2);
|
335 |
+
border-radius: 50%;
|
336 |
+
pointer-events: none;
|
337 |
+
}
|
338 |
+
|
339 |
+
/* Ultra subtle cursor trail */
|
340 |
+
.cursor-trail {
|
341 |
+
position: fixed;
|
342 |
+
width: 16px;
|
343 |
+
height: 16px;
|
344 |
+
border-radius: 50%;
|
345 |
+
background: rgba(255, 255, 255, 0.15);
|
346 |
+
pointer-events: none;
|
347 |
+
transform: translate(-50%, -50%);
|
348 |
+
z-index: 9999;
|
349 |
+
mix-blend-mode: screen;
|
350 |
+
backdrop-filter: blur(2px);
|
351 |
+
}
|
352 |
+
|
353 |
+
/* Ultra thin borders */
|
354 |
+
.thin-border {
|
355 |
+
border: 0.5px solid rgba(255,255,255,0.1);
|
356 |
+
}
|
357 |
+
|
358 |
+
/* Special ultra-transparent elements */
|
359 |
+
.ultra-transparent {
|
360 |
+
background: rgba(255,255,255,0.05);
|
361 |
+
backdrop-filter: blur(20px);
|
362 |
+
-webkit-backdrop-filter: blur(20px);
|
363 |
+
border: 0.5px solid rgba(255,255,255,0.05);
|
364 |
+
}
|
365 |
+
|
366 |
+
.ultra-transparent-hover:hover {
|
367 |
+
background: rgba(255,255,255,0.08);
|
368 |
+
backdrop-filter: blur(24px);
|
369 |
+
}
|
370 |
+
|
371 |
+
/* Floating labels */
|
372 |
+
.floating-label {
|
373 |
+
position: absolute;
|
374 |
+
top: -10px;
|
375 |
+
left: 10px;
|
376 |
+
font-size: 0.75rem;
|
377 |
+
background: rgba(0,0,0,0.3);
|
378 |
+
padding: 0 5px;
|
379 |
+
border-radius: 10px;
|
380 |
+
backdrop-filter: blur(5px);
|
381 |
+
color: rgba(255,255,255,0.8);
|
382 |
+
}
|
383 |
+
|
384 |
+
/* Transparent scrollbar */
|
385 |
+
::-webkit-scrollbar {
|
386 |
+
width: 8px;
|
387 |
+
height: 8px;
|
388 |
+
}
|
389 |
+
|
390 |
+
::-webkit-scrollbar-track {
|
391 |
+
background: rgba(255,255,255,0.05);
|
392 |
+
border-radius: 10px;
|
393 |
+
}
|
394 |
+
|
395 |
+
::-webkit-scrollbar-thumb {
|
396 |
+
background: rgba(255,255,255,0.2);
|
397 |
+
border-radius: 10px;
|
398 |
+
}
|
399 |
+
|
400 |
+
::-webkit-scrollbar-thumb:hover {
|
401 |
+
background: rgba(255,255,255,0.3);
|
402 |
+
}
|
403 |
+
</style>
|
404 |
+
</head>
|
405 |
+
<body class="gradient-bg text-white min-h-screen overflow-x-hidden">
|
406 |
+
<!-- Cursor trail -->
|
407 |
+
<div id="cursor-trail" class="cursor-trail"></div>
|
408 |
+
|
409 |
+
<!-- Floating particles -->
|
410 |
+
<div class="particles" id="particles"></div>
|
411 |
+
|
412 |
+
<!-- Main container with ultra transparent glass effect -->
|
413 |
+
<div class="min-h-screen flex flex-col items-center justify-center p-8">
|
414 |
+
<!-- Header with ultra transparent effects -->
|
415 |
+
<header class="ultra-transparent rounded-3xl p-8 mb-12 w-full max-w-4xl text-center relative overflow-hidden ultra-transparent-hover">
|
416 |
+
<div class="absolute inset-0 bg-white opacity-5"></div>
|
417 |
+
<h1 class="text-6xl font-bold mb-6 text-glow text-glow-hover rainbow-text typewriter">
|
418 |
+
TRANSPARENT MADNESS
|
419 |
+
</h1>
|
420 |
+
<p class="text-xl mb-8 text-glow-hover opacity-90">
|
421 |
+
A showcase of <span class="underline decoration-wavy decoration-purple-300/50">ultra transparent</span> UI interactions
|
422 |
+
</p>
|
423 |
+
|
424 |
+
<div class="flex justify-center space-x-6">
|
425 |
+
<button class="ultra-transparent rounded-full px-8 py-3 font-bold ripple micro-hover micro-active spin-on-hover glow-on-hover thin-border">
|
426 |
+
<span class="flex items-center opacity-90">
|
427 |
+
<i class="fas fa-play mr-2"></i> EXPERIENCE
|
428 |
+
</span>
|
429 |
+
</button>
|
430 |
+
<button class="aero-glass rounded-full px-8 py-3 font-bold ripple micro-hover micro-active shake-on-click glow-on-hover thin-border">
|
431 |
+
<span class="flex items-center opacity-90">
|
432 |
+
<i class="fas fa-magic mr-2"></i> MAGIC
|
433 |
+
</span>
|
434 |
+
</button>
|
435 |
+
</div>
|
436 |
+
</header>
|
437 |
+
|
438 |
+
<!-- Grid of ultra transparent interactive cards -->
|
439 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 w-full max-w-6xl">
|
440 |
+
<!-- Card 1 -->
|
441 |
+
<div class="ultra-transparent rounded-3xl p-6 micro-hover micro-active tilt-on-hover ripple staggered-entry thin-border">
|
442 |
+
<div class="text-4xl mb-4 text-center opacity-90">
|
443 |
+
<i class="fas fa-mouse-pointer breathing"></i>
|
444 |
+
</div>
|
445 |
+
<h3 class="text-2xl font-bold mb-3 text-center text-glow-hover opacity-95">Hover Effects</h3>
|
446 |
+
<p class="mb-4 opacity-80">Watch as I transform with ultra subtle transparency changes on hover.</p>
|
447 |
+
<div class="flex justify-center">
|
448 |
+
<button class="aero-glass-dark rounded-full px-4 py-2 text-sm ripple micro-hover micro-active wiggle-on-hover thin-border">
|
449 |
+
Hover Me
|
450 |
+
</button>
|
451 |
+
</div>
|
452 |
+
</div>
|
453 |
+
|
454 |
+
<!-- Card 2 -->
|
455 |
+
<div class="ultra-transparent rounded-3xl p-6 micro-hover micro-active flip-on-hover ripple staggered-entry thin-border">
|
456 |
+
<div class="text-4xl mb-4 text-center opacity-90">
|
457 |
+
<i class="fas fa-hand-pointer spin-on-hover"></i>
|
458 |
+
</div>
|
459 |
+
<h3 class="text-2xl font-bold mb-3 text-center text-glow-hover opacity-95">Click Animations</h3>
|
460 |
+
<p class="mb-4 opacity-80">Subtle jelly effects with increased transparency on interaction.</p>
|
461 |
+
<div class="flex justify-center">
|
462 |
+
<button class="aero-glass-dark rounded-full px-4 py-2 text-sm ripple micro-hover micro-active jelly-on-click thin-border">
|
463 |
+
Click Me
|
464 |
+
</button>
|
465 |
+
</div>
|
466 |
+
</div>
|
467 |
+
|
468 |
+
<!-- Card 3 -->
|
469 |
+
<div class="ultra-transparent rounded-3xl p-6 micro-hover micro-active expand-on-hover ripple staggered-entry thin-border">
|
470 |
+
<div class="text-4xl mb-4 text-center opacity-90">
|
471 |
+
<i class="fas fa-keyboard bounce-on-hover"></i>
|
472 |
+
</div>
|
473 |
+
<h3 class="text-2xl font-bold mb-3 text-center text-glow-hover opacity-95">Focus States</h3>
|
474 |
+
<p class="mb-4 opacity-80">Even form inputs get ultra subtle glow effects when focused.</p>
|
475 |
+
<div class="flex justify-center">
|
476 |
+
<input type="text" placeholder="Focus me" class="aero-glass-dark rounded-full px-4 py-2 text-sm w-full max-w-xs micro-focus thin-border opacity-90">
|
477 |
+
</div>
|
478 |
+
</div>
|
479 |
+
|
480 |
+
<!-- Card 4 -->
|
481 |
+
<div class="ultra-transparent rounded-3xl p-6 micro-hover micro-active tilt-on-hover ripple staggered-entry thin-border">
|
482 |
+
<div class="text-4xl mb-4 text-center opacity-90">
|
483 |
+
<i class="fas fa-scroll float-animation"></i>
|
484 |
+
</div>
|
485 |
+
<h3 class="text-2xl font-bold mb-3 text-center text-glow-hover opacity-95">Scroll Effects</h3>
|
486 |
+
<p class="mb-4 opacity-80">Elements fade in with increased transparency as you scroll.</p>
|
487 |
+
<div class="flex justify-center">
|
488 |
+
<div class="aero-glass-dark rounded-full h-8 w-8 flex items-center justify-center ripple micro-hover rotate-on-scroll thin-border">
|
489 |
+
<i class="fas fa-arrow-down opacity-90"></i>
|
490 |
+
</div>
|
491 |
+
</div>
|
492 |
+
</div>
|
493 |
+
|
494 |
+
<!-- Card 5 -->
|
495 |
+
<div class="ultra-transparent rounded-3xl p-6 micro-hover micro-active flip-on-hover ripple staggered-entry thin-border">
|
496 |
+
<div class="text-4xl mb-4 text-center opacity-90">
|
497 |
+
<i class="fas fa-cursor magnetic"></i>
|
498 |
+
</div>
|
499 |
+
<h3 class="text-2xl font-bold mb-3 text-center text-glow-hover opacity-95">Magnetic Pull</h3>
|
500 |
+
<p class="mb-4 opacity-80">Your cursor gently affects transparent elements with physics.</p>
|
501 |
+
<div class="flex justify-center">
|
502 |
+
<div class="aero-glass-dark rounded-full h-8 w-8 flex items-center justify-center ripple magnetic thin-border">
|
503 |
+
<i class="fas fa-magnet opacity-90"></i>
|
504 |
+
</div>
|
505 |
+
</div>
|
506 |
+
</div>
|
507 |
+
|
508 |
+
<!-- Card 6 -->
|
509 |
+
<div class="ultra-transparent rounded-3xl p-6 micro-hover micro-active expand-on-hover ripple staggered-entry thin-border">
|
510 |
+
<div class="text-4xl mb-4 text-center opacity-90">
|
511 |
+
<i class="fas fa-spinner spin-on-hover"></i>
|
512 |
+
</div>
|
513 |
+
<h3 class="text-2xl font-bold mb-3 text-center text-glow-hover opacity-95">Loading States</h3>
|
514 |
+
<p class="mb-4 opacity-80">Even waiting is beautiful with transparent animated loaders.</p>
|
515 |
+
<div class="flex justify-center">
|
516 |
+
<div class="aero-glass-dark rounded-full h-8 w-8 flex items-center justify-center ripple spin-on-hover thin-border">
|
517 |
+
<i class="fas fa-circle-notch opacity-90"></i>
|
518 |
+
</div>
|
519 |
+
</div>
|
520 |
+
</div>
|
521 |
+
</div>
|
522 |
+
|
523 |
+
<!-- Floating action button with ultra transparency -->
|
524 |
+
<div class="fixed bottom-8 right-8">
|
525 |
+
<button class="ultra-transparent rounded-full h-16 w-16 flex items-center justify-center text-2xl ripple micro-hover micro-active spin-on-hover jelly-on-click glow-on-hover thin-border">
|
526 |
+
<i class="fas fa-plus opacity-90"></i>
|
527 |
+
</button>
|
528 |
+
</div>
|
529 |
+
|
530 |
+
<!-- Ultra transparent notification toast -->
|
531 |
+
<div class="fixed top-8 right-8 ultra-transparent rounded-2xl p-4 max-w-xs ripple micro-hover staggered-entry thin-border" id="toast">
|
532 |
+
<div class="flex items-start">
|
533 |
+
<div class="flex-shrink-0">
|
534 |
+
<div class="h-10 w-10 rounded-full bg-purple-500/30 flex items-center justify-center text-white spin-on-hover thin-border">
|
535 |
+
<i class="fas fa-bell opacity-90"></i>
|
536 |
+
</div>
|
537 |
+
</div>
|
538 |
+
<div class="ml-3">
|
539 |
+
<h3 class="text-sm font-bold text-glow-hover opacity-95">New Interaction!</h3>
|
540 |
+
<p class="text-sm mt-1 opacity-80">You've unlocked transparent UI magic!</p>
|
541 |
+
</div>
|
542 |
+
<button class="ml-auto -mr-1 -mt-1 flex-shrink-0 flex items-center justify-center h-8 w-8 rounded-full ripple micro-hover micro-active thin-border">
|
543 |
+
<i class="fas fa-times opacity-90"></i>
|
544 |
+
</button>
|
545 |
+
</div>
|
546 |
+
</div>
|
547 |
+
|
548 |
+
<!-- Color mode toggle with ultra transparency -->
|
549 |
+
<div class="fixed top-8 left-8">
|
550 |
+
<button id="color-mode" class="ultra-transparent rounded-full h-12 w-12 flex items-center justify-center text-xl ripple micro-hover micro-active spin-on-hover jelly-on-click glow-on-hover thin-border">
|
551 |
+
<i class="fas fa-moon opacity-90"></i>
|
552 |
+
</button>
|
553 |
+
</div>
|
554 |
+
|
555 |
+
<!-- Audio toggle with ultra transparency -->
|
556 |
+
<div class="fixed top-8 left-24">
|
557 |
+
<button id="sound-toggle" class="ultra-transparent rounded-full h-12 w-12 flex items-center justify-center text-xl ripple micro-hover micro-active shake-on-click glow-on-hover thin-border">
|
558 |
+
<i class="fas fa-volume-up opacity-90"></i>
|
559 |
+
</button>
|
560 |
+
</div>
|
561 |
+
|
562 |
+
<!-- Floating labels demo -->
|
563 |
+
<div class="fixed bottom-8 left-8 ultra-transparent rounded-2xl p-6 max-w-xs ripple micro-hover thin-border">
|
564 |
+
<div class="relative">
|
565 |
+
<span class="floating-label">Email</span>
|
566 |
+
<input type="email" class="ultra-transparent w-full px-4 py-3 rounded-lg mt-2 micro-focus thin-border opacity-90" placeholder=" ">
|
567 |
+
</div>
|
568 |
+
<div class="relative mt-6">
|
569 |
+
<span class="floating-label">Password</span>
|
570 |
+
<input type="password" class="ultra-transparent w-full px-4 py-3 rounded-lg mt-2 micro-focus thin-border opacity-90" placeholder=" ">
|
571 |
+
</div>
|
572 |
+
<button class="ultra-transparent w-full mt-6 py-2 rounded-lg ripple micro-hover micro-active thin-border">
|
573 |
+
<span class="opacity-90">Sign In</span>
|
574 |
+
</button>
|
575 |
+
</div>
|
576 |
+
</div>
|
577 |
+
|
578 |
+
<script>
|
579 |
+
// Create ultra subtle particles
|
580 |
+
const particlesContainer = document.getElementById('particles');
|
581 |
+
const particleCount = 80;
|
582 |
+
|
583 |
+
for (let i = 0; i < particleCount; i++) {
|
584 |
+
const particle = document.createElement('div');
|
585 |
+
particle.classList.add('particle');
|
586 |
+
|
587 |
+
// Random position
|
588 |
+
const posX = Math.random() * 100;
|
589 |
+
const posY = Math.random() * 100;
|
590 |
+
|
591 |
+
// Random size
|
592 |
+
const size = Math.random() * 4 + 2;
|
593 |
+
|
594 |
+
// Random animation duration and delay
|
595 |
+
const duration = Math.random() * 25 + 15;
|
596 |
+
const delay = Math.random() * 15;
|
597 |
+
|
598 |
+
// Random movement direction
|
599 |
+
const moveX = Math.random() * 100 - 50;
|
600 |
+
const moveY = Math.random() * 100 - 50;
|
601 |
+
|
602 |
+
particle.style.left = `${posX}%`;
|
603 |
+
particle.style.top = `${posY}%`;
|
604 |
+
particle.style.width = `${size}px`;
|
605 |
+
particle.style.height = `${size}px`;
|
606 |
+
particle.style.opacity = Math.random() * 0.3 + 0.1;
|
607 |
+
particle.style.animation = `float ${duration}s ease-in-out ${delay}s infinite`;
|
608 |
+
particle.style.setProperty('--move-x', `${moveX}px`);
|
609 |
+
particle.style.setProperty('--move-y', `${moveY}px`);
|
610 |
+
|
611 |
+
particlesContainer.appendChild(particle);
|
612 |
+
}
|
613 |
+
|
614 |
+
// Ultra subtle cursor trail effect
|
615 |
+
const cursor = document.getElementById('cursor-trail');
|
616 |
+
let mouseX = 0;
|
617 |
+
let mouseY = 0;
|
618 |
+
let trailX = 0;
|
619 |
+
let trailY = 0;
|
620 |
+
let speed = 0.2;
|
621 |
+
|
622 |
+
document.addEventListener('mousemove', (e) => {
|
623 |
+
mouseX = e.clientX;
|
624 |
+
mouseY = e.clientY;
|
625 |
+
});
|
626 |
+
|
627 |
+
const animateCursor = () => {
|
628 |
+
const dx = mouseX - trailX;
|
629 |
+
const dy = mouseY - trailY;
|
630 |
+
|
631 |
+
trailX += dx * speed;
|
632 |
+
trailY += dy * speed;
|
633 |
+
|
634 |
+
cursor.style.left = `${trailX}px`;
|
635 |
+
cursor.style.top = `${trailY}px`;
|
636 |
+
|
637 |
+
// Change cursor color based on position
|
638 |
+
const hue = (trailX / window.innerWidth) * 360;
|
639 |
+
cursor.style.background = `hsla(${hue}, 80%, 80%, 0.1)`;
|
640 |
+
|
641 |
+
requestAnimationFrame(animateCursor);
|
642 |
+
};
|
643 |
+
|
644 |
+
animateCursor();
|
645 |
+
|
646 |
+
// Magnetic button effect
|
647 |
+
const magneticButtons = document.querySelectorAll('.magnetic');
|
648 |
+
|
649 |
+
magneticButtons.forEach(button => {
|
650 |
+
button.addEventListener('mousemove', (e) => {
|
651 |
+
const rect = button.getBoundingClientRect();
|
652 |
+
const x = e.clientX - rect.left;
|
653 |
+
const y = e.clientY - rect.top;
|
654 |
+
|
655 |
+
const centerX = rect.width / 2;
|
656 |
+
const centerY = rect.height / 2;
|
657 |
+
|
658 |
+
const distanceX = x - centerX;
|
659 |
+
const distanceY = y - centerY;
|
660 |
+
|
661 |
+
const distance = Math.sqrt(distanceX * distanceX + distanceY * distanceY);
|
662 |
+
const maxDistance = 40;
|
663 |
+
|
664 |
+
if (distance < maxDistance) {
|
665 |
+
const translateX = (distanceX / centerX) * 5;
|
666 |
+
const translateY = (distanceY / centerY) * 5;
|
667 |
+
|
668 |
+
button.style.setProperty('--tx', `${translateX}px`);
|
669 |
+
button.style.setProperty('--ty', `${translateY}px`);
|
670 |
+
} else {
|
671 |
+
button.style.setProperty('--tx', '0');
|
672 |
+
button.style.setProperty('--ty', '0');
|
673 |
+
}
|
674 |
+
});
|
675 |
+
|
676 |
+
button.addEventListener('mouseleave', () => {
|
677 |
+
button.style.setProperty('--tx', '0');
|
678 |
+
button.style.setProperty('--ty', '0');
|
679 |
+
});
|
680 |
+
});
|
681 |
+
|
682 |
+
// Scroll animation for staggered entries
|
683 |
+
const staggeredEntries = document.querySelectorAll('.staggered-entry');
|
684 |
+
|
685 |
+
const checkInView = () => {
|
686 |
+
staggeredEntries.forEach((entry, index) => {
|
687 |
+
const rect = entry.getBoundingClientRect();
|
688 |
+
const isInView = rect.top <= window.innerHeight * 0.8;
|
689 |
+
|
690 |
+
if (isInView) {
|
691 |
+
// Add delay based on index for staggered effect
|
692 |
+
entry.style.transitionDelay = `${index * 0.1}s`;
|
693 |
+
entry.classList.add('in-view');
|
694 |
+
}
|
695 |
+
});
|
696 |
+
};
|
697 |
+
|
698 |
+
// Initial check
|
699 |
+
checkInView();
|
700 |
+
|
701 |
+
// Check on scroll
|
702 |
+
window.addEventListener('scroll', checkInView);
|
703 |
+
|
704 |
+
// Color mode toggle
|
705 |
+
const colorModeBtn = document.getElementById('color-mode');
|
706 |
+
let isDarkMode = false;
|
707 |
+
|
708 |
+
colorModeBtn.addEventListener('click', () => {
|
709 |
+
isDarkMode = !isDarkMode;
|
710 |
+
|
711 |
+
if (isDarkMode) {
|
712 |
+
document.body.classList.remove('gradient-bg');
|
713 |
+
document.body.classList.add('bg-gray-900/90');
|
714 |
+
colorModeBtn.innerHTML = '<i class="fas fa-sun opacity-90"></i>';
|
715 |
+
|
716 |
+
// Add subtle color change effect
|
717 |
+
document.body.style.animation = 'color-rotate 3s linear';
|
718 |
+
setTimeout(() => {
|
719 |
+
document.body.style.animation = '';
|
720 |
+
}, 3000);
|
721 |
+
} else {
|
722 |
+
document.body.classList.add('gradient-bg');
|
723 |
+
document.body.classList.remove('bg-gray-900/90');
|
724 |
+
colorModeBtn.innerHTML = '<i class="fas fa-moon opacity-90"></i>';
|
725 |
+
|
726 |
+
// Add subtle color change effect
|
727 |
+
document.body.style.animation = 'color-rotate 3s linear';
|
728 |
+
setTimeout(() => {
|
729 |
+
document.body.style.animation = '';
|
730 |
+
}, 3000);
|
731 |
+
}
|
732 |
+
|
733 |
+
// Add subtle confetti effect
|
734 |
+
createConfetti();
|
735 |
+
});
|
736 |
+
|
737 |
+
// Sound toggle
|
738 |
+
const soundToggle = document.getElementById('sound-toggle');
|
739 |
+
let soundEnabled = true;
|
740 |
+
|
741 |
+
soundToggle.addEventListener('click', () => {
|
742 |
+
soundEnabled = !soundEnabled;
|
743 |
+
|
744 |
+
if (soundEnabled) {
|
745 |
+
soundToggle.innerHTML = '<i class="fas fa-volume-up opacity-90"></i>';
|
746 |
+
} else {
|
747 |
+
soundToggle.innerHTML = '<i class="fas fa-volume-mute opacity-90"></i>';
|
748 |
+
}
|
749 |
+
});
|
750 |
+
|
751 |
+
// Create subtle confetti effect
|
752 |
+
function createConfetti() {
|
753 |
+
const colors = ['rgba(255,0,0,0.5)', 'rgba(0,255,0,0.5)', 'rgba(0,0,255,0.5)', 'rgba(255,255,0,0.5)', 'rgba(255,0,255,0.5)', 'rgba(0,255,255,0.5)'];
|
754 |
+
|
755 |
+
for (let i = 0; i < 80; i++) {
|
756 |
+
const confetti = document.createElement('div');
|
757 |
+
confetti.classList.add('particle');
|
758 |
+
|
759 |
+
const posX = Math.random() * window.innerWidth;
|
760 |
+
const posY = -10;
|
761 |
+
const size = Math.random() * 8 + 3;
|
762 |
+
const color = colors[Math.floor(Math.random() * colors.length)];
|
763 |
+
const rotation = Math.random() * 360;
|
764 |
+
const duration = Math.random() * 4 + 2;
|
765 |
+
|
766 |
+
confetti.style.left = `${posX}px`;
|
767 |
+
confetti.style.top = `${posY}px`;
|
768 |
+
confetti.style.width = `${size}px`;
|
769 |
+
confetti.style.height = `${size}px`;
|
770 |
+
confetti.style.background = color;
|
771 |
+
confetti.style.transform = `rotate(${rotation}deg)`;
|
772 |
+
confetti.style.animation = `confetti-fall ${duration}s linear forwards`;
|
773 |
+
|
774 |
+
document.body.appendChild(confetti);
|
775 |
+
|
776 |
+
// Remove after animation
|
777 |
+
setTimeout(() => {
|
778 |
+
confetti.remove();
|
779 |
+
}, duration * 1000);
|
780 |
+
}
|
781 |
+
|
782 |
+
// Add confetti animation to styles
|
783 |
+
const style = document.createElement('style');
|
784 |
+
style.innerHTML = `
|
785 |
+
@keyframes confetti-fall {
|
786 |
+
0% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
|
787 |
+
100% { transform: translateY(${window.innerHeight}px) rotate(360deg); opacity: 0; }
|
788 |
+
}
|
789 |
+
`;
|
790 |
+
document.head.appendChild(style);
|
791 |
+
}
|
792 |
+
|
793 |
+
// Easter egg - secret interaction
|
794 |
+
let konamiCode = [];
|
795 |
+
const secretCode = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a'];
|
796 |
+
|
797 |
+
document.addEventListener('keydown', (e) => {
|
798 |
+
konamiCode.push(e.key);
|
799 |
+
if (konamiCode.length > secretCode.length) {
|
800 |
+
konamiCode.shift();
|
801 |
+
}
|
802 |
+
|
803 |
+
if (konamiCode.join('') === secretCode.join('')) {
|
804 |
+
// Activate secret mode
|
805 |
+
document.body.style.animation = 'color-rotate 1s linear infinite';
|
806 |
+
createConfetti();
|
807 |
+
|
808 |
+
// Show secret notification
|
809 |
+
const toast = document.getElementById('toast');
|
810 |
+
toast.querySelector('h3').textContent = 'SECRET UNLOCKED!';
|
811 |
+
toast.querySelector('p').textContent = 'Ultra transparent mode activated!';
|
812 |
+
toast.classList.add('neon-flicker');
|
813 |
+
}
|
814 |
+
});
|
815 |
+
|
816 |
+
// Make everything draggable with ultra subtle effects
|
817 |
+
document.querySelectorAll('.ultra-transparent, .aero-glass').forEach(element => {
|
818 |
+
let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
|
819 |
+
|
820 |
+
element.addEventListener('mousedown', dragMouseDown);
|
821 |
+
|
822 |
+
function dragMouseDown(e) {
|
823 |
+
e = e || window.event;
|
824 |
+
e.preventDefault();
|
825 |
+
|
826 |
+
// Get the mouse cursor position at startup
|
827 |
+
pos3 = e.clientX;
|
828 |
+
pos4 = e.clientY;
|
829 |
+
|
830 |
+
// Increase transparency while dragging
|
831 |
+
element.style.opacity = '0.7';
|
832 |
+
|
833 |
+
document.addEventListener('mouseup', closeDragElement);
|
834 |
+
document.addEventListener('mousemove', elementDrag);
|
835 |
+
}
|
836 |
+
|
837 |
+
function elementDrag(e) {
|
838 |
+
e = e || window.event;
|
839 |
+
e.preventDefault();
|
840 |
+
|
841 |
+
// Calculate the new cursor position
|
842 |
+
pos1 = pos3 - e.clientX;
|
843 |
+
pos2 = pos4 - e.clientY;
|
844 |
+
pos3 = e.clientX;
|
845 |
+
pos4 = e.clientY;
|
846 |
+
|
847 |
+
// Set the element's new position
|
848 |
+
element.style.top = (element.offsetTop - pos2) + "px";
|
849 |
+
element.style.left = (element.offsetLeft - pos1) + "px";
|
850 |
+
element.style.position = 'absolute';
|
851 |
+
|
852 |
+
// Add subtle wobbly effect while dragging
|
853 |
+
element.style.transform = `rotate(${pos1 * 0.3}deg)`;
|
854 |
+
}
|
855 |
+
|
856 |
+
function closeDragElement() {
|
857 |
+
// Stop moving when mouse button is released
|
858 |
+
document.removeEventListener('mouseup', closeDragElement);
|
859 |
+
document.removeEventListener('mousemove', elementDrag);
|
860 |
+
|
861 |
+
// Restore opacity
|
862 |
+
element.style.opacity = '';
|
863 |
+
|
864 |
+
// Snap back to original position with animation
|
865 |
+
element.style.transition = 'all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6)';
|
866 |
+
element.style.transform = '';
|
867 |
+
element.style.top = '';
|
868 |
+
element.style.left = '';
|
869 |
+
element.style.position = '';
|
870 |
+
|
871 |
+
setTimeout(() => {
|
872 |
+
element.style.transition = '';
|
873 |
+
}, 500);
|
874 |
+
}
|
875 |
+
});
|
876 |
+
</script>
|
877 |
+
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=steven1015/transparetn" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
878 |
+
</html>
|
prompts.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
add even more transparency to this please
|