ProjectGenesis commited on
Commit
917f594
·
verified ·
1 Parent(s): 04d4a9e

Create a page showcasing different styles of button design and animation. Create at least 30 buttons, each with different modern and creative designs, animations, and hover effects - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +5 -3
  2. index.html +927 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Buttons 3
3
- emoji: 🔥
4
  colorFrom: green
5
  colorTo: gray
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: buttons-3
3
+ emoji: 🐳
4
  colorFrom: green
5
  colorTo: gray
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,927 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Creative Button Showcase</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
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ * {
13
+ margin: 0;
14
+ padding: 0;
15
+ box-sizing: border-box;
16
+ font-family: 'Poppins', sans-serif;
17
+ }
18
+
19
+ body {
20
+ background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
21
+ min-height: 100vh;
22
+ padding: 2rem;
23
+ }
24
+
25
+ .header {
26
+ text-align: center;
27
+ margin-bottom: 3rem;
28
+ }
29
+
30
+ .header h1 {
31
+ font-size: 3rem;
32
+ font-weight: 700;
33
+ background: linear-gradient(45deg, #00dbde, #fc00ff);
34
+ -webkit-background-clip: text;
35
+ background-clip: text;
36
+ color: transparent;
37
+ margin-bottom: 0.5rem;
38
+ }
39
+
40
+ .header p {
41
+ color: #a0aec0;
42
+ font-size: 1.2rem;
43
+ max-width: 700px;
44
+ margin: 0 auto;
45
+ }
46
+
47
+ .grid-container {
48
+ display: grid;
49
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
50
+ gap: 2rem;
51
+ max-width: 1400px;
52
+ margin: 0 auto;
53
+ }
54
+
55
+ .btn-container {
56
+ background: rgba(26, 32, 44, 0.7);
57
+ border-radius: 12px;
58
+ padding: 1.5rem;
59
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
60
+ transition: transform 0.3s ease;
61
+ }
62
+
63
+ .btn-container:hover {
64
+ transform: translateY(-5px);
65
+ }
66
+
67
+ .btn-container h3 {
68
+ color: #e2e8f0;
69
+ margin-bottom: 1rem;
70
+ font-size: 1.1rem;
71
+ font-weight: 500;
72
+ }
73
+
74
+ .btn {
75
+ position: relative;
76
+ display: inline-flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ padding: 0.8rem 1.5rem;
80
+ border: none;
81
+ outline: none;
82
+ cursor: pointer;
83
+ font-weight: 500;
84
+ font-size: 1rem;
85
+ border-radius: 8px;
86
+ overflow: hidden;
87
+ transition: all 0.3s ease;
88
+ transform: translateZ(0);
89
+ will-change: transform;
90
+ }
91
+
92
+ /* Button 1: Gradient Glow */
93
+ .btn-1 {
94
+ background: linear-gradient(45deg, #ff6b6b, #ff8e53);
95
+ color: white;
96
+ box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
97
+ }
98
+
99
+ .btn-1:hover {
100
+ transform: translateY(-3px);
101
+ box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
102
+ }
103
+
104
+ /* Button 2: Border Animation */
105
+ .btn-2 {
106
+ background: transparent;
107
+ color: #48bb78;
108
+ border: 2px solid #48bb78;
109
+ }
110
+
111
+ .btn-2::before {
112
+ content: "";
113
+ position: absolute;
114
+ top: 0;
115
+ left: 0;
116
+ width: 100%;
117
+ height: 0;
118
+ background: #48bb78;
119
+ z-index: -1;
120
+ transition: height 0.3s ease;
121
+ }
122
+
123
+ .btn-2:hover {
124
+ color: white;
125
+ }
126
+
127
+ .btn-2:hover::before {
128
+ height: 100%;
129
+ }
130
+
131
+ /* Button 3: Neumorphic */
132
+ .btn-3 {
133
+ background: #1a202c;
134
+ color: #a0aec0;
135
+ box-shadow: 5px 5px 10px #0d1117, -5px -5px 10px #272f3f;
136
+ }
137
+
138
+ .btn-3:hover {
139
+ box-shadow: inset 5px 5px 10px #0d1117, inset -5px -5px 10px #272f3f;
140
+ }
141
+
142
+ /* Button 4: Ripple Effect */
143
+ .btn-4 {
144
+ background: #4299e1;
145
+ color: white;
146
+ overflow: hidden;
147
+ }
148
+
149
+ .btn-4::after {
150
+ content: "";
151
+ position: absolute;
152
+ top: 50%;
153
+ left: 50%;
154
+ width: 0;
155
+ height: 0;
156
+ background: rgba(255, 255, 255, 0.3);
157
+ border-radius: 50%;
158
+ transform: translate(-50%, -50%);
159
+ transition: width 0.6s ease, height 0.6s ease;
160
+ }
161
+
162
+ .btn-4:hover::after {
163
+ width: 300px;
164
+ height: 300px;
165
+ }
166
+
167
+ /* Button 5: 3D Press */
168
+ .btn-5 {
169
+ background: #9f7aea;
170
+ color: white;
171
+ box-shadow: 0 6px 0 #805ad5;
172
+ transform: translateY(0);
173
+ }
174
+
175
+ .btn-5:hover {
176
+ transform: translateY(2px);
177
+ box-shadow: 0 4px 0 #805ad5;
178
+ }
179
+
180
+ .btn-5:active {
181
+ transform: translateY(6px);
182
+ box-shadow: none;
183
+ }
184
+
185
+ /* Button 6: Icon Animation */
186
+ .btn-6 {
187
+ background: #ed64a6;
188
+ color: white;
189
+ gap: 8px;
190
+ }
191
+
192
+ .btn-6 i {
193
+ transition: transform 0.3s ease;
194
+ }
195
+
196
+ .btn-6:hover i {
197
+ transform: translateX(5px);
198
+ }
199
+
200
+ /* Button 7: Glitch Effect */
201
+ .btn-7 {
202
+ background: #0bc5ea;
203
+ color: white;
204
+ }
205
+
206
+ .btn-7:hover {
207
+ animation: glitch 0.3s linear;
208
+ }
209
+
210
+ @keyframes glitch {
211
+ 0% { transform: translate(0) }
212
+ 20% { transform: translate(-2px, 2px) }
213
+ 40% { transform: translate(-2px, -2px) }
214
+ 60% { transform: translate(2px, 2px) }
215
+ 80% { transform: translate(2px, -2px) }
216
+ 100% { transform: translate(0) }
217
+ }
218
+
219
+ /* Button 8: Gradient Border */
220
+ .btn-8 {
221
+ background: #1a202c;
222
+ color: white;
223
+ position: relative;
224
+ z-index: 1;
225
+ }
226
+
227
+ .btn-8::before {
228
+ content: "";
229
+ position: absolute;
230
+ top: 0;
231
+ left: 0;
232
+ width: 100%;
233
+ height: 100%;
234
+ background: linear-gradient(45deg, #00dbde, #fc00ff);
235
+ z-index: -1;
236
+ border-radius: 8px;
237
+ padding: 2px;
238
+ -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
239
+ mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
240
+ -webkit-mask-composite: xor;
241
+ mask-composite: exclude;
242
+ }
243
+
244
+ .btn-8:hover::before {
245
+ animation: rotate 1.5s linear infinite;
246
+ }
247
+
248
+ @keyframes rotate {
249
+ 100% { transform: rotate(360deg); }
250
+ }
251
+
252
+ /* Button 9: Flip Text */
253
+ .btn-9 {
254
+ background: #38b2ac;
255
+ color: white;
256
+ perspective: 500px;
257
+ }
258
+
259
+ .btn-9 span {
260
+ display: inline-block;
261
+ transition: transform 0.3s ease;
262
+ }
263
+
264
+ .btn-9:hover span {
265
+ transform: rotateX(360deg);
266
+ }
267
+
268
+ /* Button 10: Liquid Fill */
269
+ .btn-10 {
270
+ background: transparent;
271
+ color: #f6ad55;
272
+ border: 2px solid #f6ad55;
273
+ overflow: hidden;
274
+ }
275
+
276
+ .btn-10::before {
277
+ content: "";
278
+ position: absolute;
279
+ top: 0;
280
+ left: 0;
281
+ width: 100%;
282
+ height: 0%;
283
+ background: #f6ad55;
284
+ z-index: -1;
285
+ border-radius: 0 0 50% 50%;
286
+ transition: height 0.5s ease;
287
+ }
288
+
289
+ .btn-10:hover {
290
+ color: white;
291
+ }
292
+
293
+ .btn-10:hover::before {
294
+ height: 200%;
295
+ }
296
+
297
+ /* Button 11: Particle Effect */
298
+ .btn-11 {
299
+ background: #63b3ed;
300
+ color: white;
301
+ overflow: visible;
302
+ }
303
+
304
+ .btn-11:hover {
305
+ animation: particles 0.6s ease;
306
+ }
307
+
308
+ @keyframes particles {
309
+ 0% { box-shadow: 0 0 0 0 rgba(99, 179, 237, 0.4); }
310
+ 100% { box-shadow: 0 0 0 20px rgba(99, 179, 237, 0); }
311
+ }
312
+
313
+ /* Button 12: Underline Animation */
314
+ .btn-12 {
315
+ background: transparent;
316
+ color: #68d391;
317
+ position: relative;
318
+ }
319
+
320
+ .btn-12::after {
321
+ content: "";
322
+ position: absolute;
323
+ bottom: 0;
324
+ left: 0;
325
+ width: 0;
326
+ height: 2px;
327
+ background: #68d391;
328
+ transition: width 0.3s ease;
329
+ }
330
+
331
+ .btn-12:hover::after {
332
+ width: 100%;
333
+ }
334
+
335
+ /* Button 13: Skew Effect */
336
+ .btn-13 {
337
+ background: #f56565;
338
+ color: white;
339
+ transition: transform 0.3s ease;
340
+ }
341
+
342
+ .btn-13:hover {
343
+ transform: skewX(-10deg);
344
+ }
345
+
346
+ /* Button 14: Bounce */
347
+ .btn-14 {
348
+ background: #0bc5ea;
349
+ color: white;
350
+ animation: bounce 2s infinite;
351
+ }
352
+
353
+ @keyframes bounce {
354
+ 0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
355
+ 40% { transform: translateY(-15px); }
356
+ 60% { transform: translateY(-7px); }
357
+ }
358
+
359
+ /* Button 15: Gradient Shift */
360
+ .btn-15 {
361
+ background: linear-gradient(45deg, #ff6b6b, #ff8e53);
362
+ color: white;
363
+ background-size: 200% 200%;
364
+ transition: background-position 0.5s ease;
365
+ }
366
+
367
+ .btn-15:hover {
368
+ background-position: 100% 100%;
369
+ }
370
+
371
+ /* Button 16: Double Border */
372
+ .btn-16 {
373
+ background: #1a202c;
374
+ color: #ecc94b;
375
+ border: 2px solid #ecc94b;
376
+ position: relative;
377
+ }
378
+
379
+ .btn-16::before {
380
+ content: "";
381
+ position: absolute;
382
+ top: 5px;
383
+ left: 5px;
384
+ right: 5px;
385
+ bottom: 5px;
386
+ border: 2px solid #ecc94b;
387
+ border-radius: 4px;
388
+ opacity: 0;
389
+ transition: opacity 0.3s ease;
390
+ }
391
+
392
+ .btn-16:hover::before {
393
+ opacity: 1;
394
+ }
395
+
396
+ /* Button 17: Flip Card */
397
+ .btn-17 {
398
+ background: transparent;
399
+ perspective: 1000px;
400
+ width: 120px;
401
+ height: 40px;
402
+ }
403
+
404
+ .btn-17-inner {
405
+ position: relative;
406
+ width: 100%;
407
+ height: 100%;
408
+ text-align: center;
409
+ transition: transform 0.6s;
410
+ transform-style: preserve-3d;
411
+ }
412
+
413
+ .btn-17:hover .btn-17-inner {
414
+ transform: rotateY(180deg);
415
+ }
416
+
417
+ .btn-17-front, .btn-17-back {
418
+ position: absolute;
419
+ width: 100%;
420
+ height: 100%;
421
+ backface-visibility: hidden;
422
+ display: flex;
423
+ align-items: center;
424
+ justify-content: center;
425
+ border-radius: 8px;
426
+ }
427
+
428
+ .btn-17-front {
429
+ background: #9f7aea;
430
+ color: white;
431
+ }
432
+
433
+ .btn-17-back {
434
+ background: #f56565;
435
+ color: white;
436
+ transform: rotateY(180deg);
437
+ }
438
+
439
+ /* Button 18: Shine Effect */
440
+ .btn-18 {
441
+ background: #2d3748;
442
+ color: #a0aec0;
443
+ position: relative;
444
+ overflow: hidden;
445
+ }
446
+
447
+ .btn-18::after {
448
+ content: "";
449
+ position: absolute;
450
+ top: -50%;
451
+ left: -60%;
452
+ width: 20px;
453
+ height: 200%;
454
+ background: rgba(255, 255, 255, 0.2);
455
+ transform: rotate(30deg);
456
+ transition: all 0.6s;
457
+ }
458
+
459
+ .btn-18:hover::after {
460
+ left: 120%;
461
+ }
462
+
463
+ /* Button 19: Text Shadow */
464
+ .btn-19 {
465
+ background: #4a5568;
466
+ color: white;
467
+ text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
468
+ transition: text-shadow 0.3s ease;
469
+ }
470
+
471
+ .btn-19:hover {
472
+ text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
473
+ }
474
+
475
+ /* Button 20: Pulse */
476
+ .btn-20 {
477
+ background: #ed8936;
478
+ color: white;
479
+ animation: pulse 2s infinite;
480
+ }
481
+
482
+ @keyframes pulse {
483
+ 0% { box-shadow: 0 0 0 0 rgba(237, 137, 54, 0.7); }
484
+ 70% { box-shadow: 0 0 0 10px rgba(237, 137, 54, 0); }
485
+ 100% { box-shadow: 0 0 0 0 rgba(237, 137, 54, 0); }
486
+ }
487
+
488
+ /* Button 21: Corner Fold */
489
+ .btn-21 {
490
+ background: #38a169;
491
+ color: white;
492
+ position: relative;
493
+ }
494
+
495
+ .btn-21::before {
496
+ content: "";
497
+ position: absolute;
498
+ top: 0;
499
+ right: 0;
500
+ border-style: solid;
501
+ border-width: 0 20px 20px 0;
502
+ border-color: transparent #1a202c transparent transparent;
503
+ transition: all 0.3s ease;
504
+ }
505
+
506
+ .btn-21:hover::before {
507
+ border-width: 0 0 0 0;
508
+ }
509
+
510
+ /* Button 22: Gradient Text */
511
+ .btn-22 {
512
+ background: #1a202c;
513
+ color: transparent;
514
+ background-clip: text;
515
+ -webkit-background-clip: text;
516
+ position: relative;
517
+ border: 2px solid transparent;
518
+ background-image: linear-gradient(45deg, #00dbde, #fc00ff);
519
+ }
520
+
521
+ .btn-22::before {
522
+ content: "";
523
+ position: absolute;
524
+ top: 0;
525
+ left: 0;
526
+ right: 0;
527
+ bottom: 0;
528
+ background: linear-gradient(45deg, #00dbde, #fc00ff);
529
+ z-index: -1;
530
+ border-radius: 8px;
531
+ padding: 2px;
532
+ -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
533
+ mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
534
+ -webkit-mask-composite: xor;
535
+ mask-composite: exclude;
536
+ }
537
+
538
+ /* Button 23: Rotate */
539
+ .btn-23 {
540
+ background: #e53e3e;
541
+ color: white;
542
+ transition: transform 0.5s ease;
543
+ }
544
+
545
+ .btn-23:hover {
546
+ transform: rotate(10deg);
547
+ }
548
+
549
+ /* Button 24: Depth Effect */
550
+ .btn-24 {
551
+ background: linear-gradient(to bottom, #4299e1, #2b6cb0);
552
+ color: white;
553
+ box-shadow: 0 4px 0 #2b6cb0;
554
+ position: relative;
555
+ transition: all 0.2s ease;
556
+ }
557
+
558
+ .btn-24:hover {
559
+ transform: translateY(2px);
560
+ box-shadow: 0 2px 0 #2b6cb0;
561
+ }
562
+
563
+ .btn-24:active {
564
+ transform: translateY(4px);
565
+ box-shadow: none;
566
+ }
567
+
568
+ /* Button 25: Neon Glow */
569
+ .btn-25 {
570
+ background: #1a202c;
571
+ color: #ff00ff;
572
+ border: 2px solid #ff00ff;
573
+ box-shadow: 0 0 10px #ff00ff, inset 0 0 10px #ff00ff;
574
+ text-shadow: 0 0 5px #ff00ff;
575
+ transition: all 0.3s ease;
576
+ }
577
+
578
+ .btn-25:hover {
579
+ box-shadow: 0 0 20px #ff00ff, inset 0 0 20px #ff00ff;
580
+ }
581
+
582
+ /* Button 26: Slide Text */
583
+ .btn-26 {
584
+ background: #4a5568;
585
+ color: white;
586
+ overflow: hidden;
587
+ position: relative;
588
+ }
589
+
590
+ .btn-26 span {
591
+ display: block;
592
+ transition: transform 0.3s ease;
593
+ }
594
+
595
+ .btn-26::after {
596
+ content: "Hover!";
597
+ position: absolute;
598
+ top: 100%;
599
+ left: 0;
600
+ width: 100%;
601
+ height: 100%;
602
+ display: flex;
603
+ align-items: center;
604
+ justify-content: center;
605
+ transition: transform 0.3s ease;
606
+ }
607
+
608
+ .btn-26:hover span {
609
+ transform: translateY(-100%);
610
+ }
611
+
612
+ .btn-26:hover::after {
613
+ transform: translateY(-100%);
614
+ }
615
+
616
+ /* Button 27: Glass Morphism */
617
+ .btn-27 {
618
+ background: rgba(255, 255, 255, 0.1);
619
+ color: white;
620
+ backdrop-filter: blur(10px);
621
+ border: 1px solid rgba(255, 255, 255, 0.2);
622
+ transition: all 0.3s ease;
623
+ }
624
+
625
+ .btn-27:hover {
626
+ background: rgba(255, 255, 255, 0.2);
627
+ border: 1px solid rgba(255, 255, 255, 0.3);
628
+ }
629
+
630
+ /* Button 28: Scale */
631
+ .btn-28 {
632
+ background: #f6e05e;
633
+ color: #1a202c;
634
+ transition: transform 0.3s ease;
635
+ }
636
+
637
+ .btn-28:hover {
638
+ transform: scale(1.1);
639
+ }
640
+
641
+ /* Button 29: Gradient Shadow */
642
+ .btn-29 {
643
+ background: #805ad5;
644
+ color: white;
645
+ position: relative;
646
+ }
647
+
648
+ .btn-29::after {
649
+ content: "";
650
+ position: absolute;
651
+ top: 10px;
652
+ left: 0;
653
+ width: 100%;
654
+ height: 100%;
655
+ background: linear-gradient(45deg, #00dbde, #fc00ff);
656
+ z-index: -1;
657
+ filter: blur(10px);
658
+ opacity: 0.7;
659
+ transition: opacity 0.3s ease;
660
+ }
661
+
662
+ .btn-29:hover::after {
663
+ opacity: 1;
664
+ }
665
+
666
+ /* Button 30: Morph */
667
+ .btn-30 {
668
+ background: #00b5d8;
669
+ color: white;
670
+ transition: all 0.5s ease;
671
+ }
672
+
673
+ .btn-30:hover {
674
+ border-radius: 30px;
675
+ }
676
+
677
+ /* Responsive adjustments */
678
+ @media (max-width: 768px) {
679
+ .grid-container {
680
+ grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
681
+ }
682
+
683
+ .header h1 {
684
+ font-size: 2.5rem;
685
+ }
686
+ }
687
+
688
+ @media (max-width: 480px) {
689
+ .grid-container {
690
+ grid-template-columns: 1fr;
691
+ }
692
+
693
+ .header h1 {
694
+ font-size: 2rem;
695
+ }
696
+
697
+ .header p {
698
+ font-size: 1rem;
699
+ }
700
+ }
701
+ </style>
702
+ </head>
703
+ <body>
704
+ <div class="header">
705
+ <h1>Creative Button Showcase</h1>
706
+ <p>Explore 30 unique button designs with modern animations and hover effects</p>
707
+ </div>
708
+
709
+ <div class="grid-container">
710
+ <!-- Button 1 -->
711
+ <div class="btn-container">
712
+ <h3>Gradient Glow</h3>
713
+ <button class="btn btn-1">Hover Me</button>
714
+ </div>
715
+
716
+ <!-- Button 2 -->
717
+ <div class="btn-container">
718
+ <h3>Border Animation</h3>
719
+ <button class="btn btn-2">Hover Me</button>
720
+ </div>
721
+
722
+ <!-- Button 3 -->
723
+ <div class="btn-container">
724
+ <h3>Neumorphic</h3>
725
+ <button class="btn btn-3">Hover Me</button>
726
+ </div>
727
+
728
+ <!-- Button 4 -->
729
+ <div class="btn-container">
730
+ <h3>Ripple Effect</h3>
731
+ <button class="btn btn-4">Hover Me</button>
732
+ </div>
733
+
734
+ <!-- Button 5 -->
735
+ <div class="btn-container">
736
+ <h3>3D Press</h3>
737
+ <button class="btn btn-5">Press Me</button>
738
+ </div>
739
+
740
+ <!-- Button 6 -->
741
+ <div class="btn-container">
742
+ <h3>Icon Animation</h3>
743
+ <button class="btn btn-6">
744
+ <span>Hover Me</span>
745
+ <i class="fas fa-arrow-right"></i>
746
+ </button>
747
+ </div>
748
+
749
+ <!-- Button 7 -->
750
+ <div class="btn-container">
751
+ <h3>Glitch Effect</h3>
752
+ <button class="btn btn-7">Hover Me</button>
753
+ </div>
754
+
755
+ <!-- Button 8 -->
756
+ <div class="btn-container">
757
+ <h3>Gradient Border</h3>
758
+ <button class="btn btn-8">Hover Me</button>
759
+ </div>
760
+
761
+ <!-- Button 9 -->
762
+ <div class="btn-container">
763
+ <h3>Flip Text</h3>
764
+ <button class="btn btn-9"><span>Hover Me</span></button>
765
+ </div>
766
+
767
+ <!-- Button 10 -->
768
+ <div class="btn-container">
769
+ <h3>Liquid Fill</h3>
770
+ <button class="btn btn-10">Hover Me</button>
771
+ </div>
772
+
773
+ <!-- Button 11 -->
774
+ <div class="btn-container">
775
+ <h3>Particle Effect</h3>
776
+ <button class="btn btn-11">Hover Me</button>
777
+ </div>
778
+
779
+ <!-- Button 12 -->
780
+ <div class="btn-container">
781
+ <h3>Underline Animation</h3>
782
+ <button class="btn btn-12">Hover Me</button>
783
+ </div>
784
+
785
+ <!-- Button 13 -->
786
+ <div class="btn-container">
787
+ <h3>Skew Effect</h3>
788
+ <button class="btn btn-13">Hover Me</button>
789
+ </div>
790
+
791
+ <!-- Button 14 -->
792
+ <div class="btn-container">
793
+ <h3>Bounce</h3>
794
+ <button class="btn btn-14">Bounce Me</button>
795
+ </div>
796
+
797
+ <!-- Button 15 -->
798
+ <div class="btn-container">
799
+ <h3>Gradient Shift</h3>
800
+ <button class="btn btn-15">Hover Me</button>
801
+ </div>
802
+
803
+ <!-- Button 16 -->
804
+ <div class="btn-container">
805
+ <h3>Double Border</h3>
806
+ <button class="btn btn-16">Hover Me</button>
807
+ </div>
808
+
809
+ <!-- Button 17 -->
810
+ <div class="btn-container">
811
+ <h3>Flip Card</h3>
812
+ <button class="btn btn-17">
813
+ <div class="btn-17-inner">
814
+ <div class="btn-17-front">Front</div>
815
+ <div class="btn-17-back">Back</div>
816
+ </div>
817
+ </button>
818
+ </div>
819
+
820
+ <!-- Button 18 -->
821
+ <div class="btn-container">
822
+ <h3>Shine Effect</h3>
823
+ <button class="btn btn-18">Hover Me</button>
824
+ </div>
825
+
826
+ <!-- Button 19 -->
827
+ <div class="btn-container">
828
+ <h3>Text Shadow</h3>
829
+ <button class="btn btn-19">Hover Me</button>
830
+ </div>
831
+
832
+ <!-- Button 20 -->
833
+ <div class="btn-container">
834
+ <h3>Pulse</h3>
835
+ <button class="btn btn-20">Hover Me</button>
836
+ </div>
837
+
838
+ <!-- Button 21 -->
839
+ <div class="btn-container">
840
+ <h3>Corner Fold</h3>
841
+ <button class="btn btn-21">Hover Me</button>
842
+ </div>
843
+
844
+ <!-- Button 22 -->
845
+ <div class="btn-container">
846
+ <h3>Gradient Text</h3>
847
+ <button class="btn btn-22">Hover Me</button>
848
+ </div>
849
+
850
+ <!-- Button 23 -->
851
+ <div class="btn-container">
852
+ <h3>Rotate</h3>
853
+ <button class="btn btn-23">Hover Me</button>
854
+ </div>
855
+
856
+ <!-- Button 24 -->
857
+ <div class="btn-container">
858
+ <h3>Depth Effect</h3>
859
+ <button class="btn btn-24">Press Me</button>
860
+ </div>
861
+
862
+ <!-- Button 25 -->
863
+ <div class="btn-container">
864
+ <h3>Neon Glow</h3>
865
+ <button class="btn btn-25">Hover Me</button>
866
+ </div>
867
+
868
+ <!-- Button 26 -->
869
+ <div class="btn-container">
870
+ <h3>Slide Text</h3>
871
+ <button class="btn btn-26"><span>Hover Me</span></button>
872
+ </div>
873
+
874
+ <!-- Button 27 -->
875
+ <div class="btn-container">
876
+ <h3>Glass Morphism</h3>
877
+ <button class="btn btn-27">Hover Me</button>
878
+ </div>
879
+
880
+ <!-- Button 28 -->
881
+ <div class="btn-container">
882
+ <h3>Scale</h3>
883
+ <button class="btn btn-28">Hover Me</button>
884
+ </div>
885
+
886
+ <!-- Button 29 -->
887
+ <div class="btn-container">
888
+ <h3>Gradient Shadow</h3>
889
+ <button class="btn btn-29">Hover Me</button>
890
+ </div>
891
+
892
+ <!-- Button 30 -->
893
+ <div class="btn-container">
894
+ <h3>Morph</h3>
895
+ <button class="btn btn-30">Hover Me</button>
896
+ </div>
897
+ </div>
898
+
899
+ <script>
900
+ // Ripple effect implementation
901
+ document.querySelectorAll('.btn-4').forEach(button => {
902
+ button.addEventListener('click', function(e) {
903
+ // Remove existing ripples
904
+ const ripples = this.getElementsByClassName('ripple');
905
+ while(ripples[0]) {
906
+ ripples[0].parentNode.removeChild(ripples[0]);
907
+ }
908
+
909
+ // Create ripple
910
+ const circle = document.createElement("span");
911
+ circle.classList.add("ripple");
912
+
913
+ // Get dimensions
914
+ const d = Math.max(this.clientWidth, this.clientHeight);
915
+
916
+ // Set styles
917
+ circle.style.width = circle.style.height = d + "px";
918
+ circle.style.left = e.offsetX - d/2 + "px";
919
+ circle.style.top = e.offsetY - d/2 + "px";
920
+
921
+ // Add to button
922
+ this.appendChild(circle);
923
+ });
924
+ });
925
+ </script>
926
+ <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=ProjectGenesis/buttons-3" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
927
+ </html>