ProjectGenesis commited on
Commit
c4ef564
·
verified ·
1 Parent(s): 387cceb

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 +7 -5
  2. index.html +1083 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Buttons 2
3
- emoji: 👀
4
- colorFrom: indigo
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-2
3
+ emoji: 🐳
4
+ colorFrom: pink
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,1083 @@
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>Modern Button Collection - 30 Unique Designs</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script>
9
+ tailwind.config = {
10
+ theme: {
11
+ extend: {
12
+ animation: {
13
+ 'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
14
+ 'wiggle': 'wiggle 1s ease-in-out infinite',
15
+ 'float': 'float 3s ease-in-out infinite',
16
+ 'spin-slow': 'spin 6s linear infinite',
17
+ 'tilt': 'tilt 10s linear infinite',
18
+ 'bounce-slow': 'bounceSlow 2s infinite'
19
+ },
20
+ keyframes: {
21
+ wiggle: {
22
+ '0%, 100%': { transform: 'rotate(-3deg)' },
23
+ '50%': { transform: 'rotate(3deg)' },
24
+ },
25
+ float: {
26
+ '0%, 100%': { transform: 'translateY(0)' },
27
+ '50%': { transform: 'translateY(-10px)' },
28
+ },
29
+ tilt: {
30
+ '0%, 100%': { transform: 'rotate(-2deg)' },
31
+ '50%': { transform: 'rotate(2deg)' },
32
+ },
33
+ bounceSlow: {
34
+ '0%, 100%': { transform: 'translateY(0)' },
35
+ '50%': { transform: 'translateY(-15px)' },
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ </script>
42
+ <style>
43
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
44
+
45
+ * {
46
+ box-sizing: border-box;
47
+ margin: 0;
48
+ padding: 0;
49
+ }
50
+
51
+ body {
52
+ font-family: 'Poppins', sans-serif;
53
+ background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
54
+ background-size: 400% 400%;
55
+ animation: gradientBG 15s ease infinite;
56
+ color: #fff;
57
+ min-height: 100vh;
58
+ padding: 3rem 1rem;
59
+ }
60
+
61
+ @keyframes gradientBG {
62
+ 0% { background-position: 0% 50% }
63
+ 50% { background-position: 100% 50% }
64
+ 100% { background-position: 0% 50% }
65
+ }
66
+
67
+ .button-container {
68
+ position: relative;
69
+ display: grid;
70
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
71
+ gap: 2rem;
72
+ max-width: 1400px;
73
+ margin: 0 auto;
74
+ z-index: 1;
75
+ }
76
+
77
+ .button-card {
78
+ background: rgba(255, 255, 255, 0.08);
79
+ backdrop-filter: blur(12px);
80
+ border-radius: 16px;
81
+ padding: 2rem;
82
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
83
+ display: flex;
84
+ flex-direction: column;
85
+ align-items: center;
86
+ transition: all 0.4s ease;
87
+ border: 1px solid rgba(255, 255, 255, 0.1);
88
+ overflow: hidden;
89
+ }
90
+
91
+ .button-card:hover {
92
+ transform: translateY(-5px);
93
+ box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
94
+ background: rgba(255, 255, 255, 0.12);
95
+ }
96
+
97
+ .button-card h3 {
98
+ font-weight: 600;
99
+ margin-bottom: 1.5rem;
100
+ color: #fff;
101
+ text-align: center;
102
+ font-size: 1.25rem;
103
+ }
104
+
105
+ .btn {
106
+ position: relative;
107
+ display: inline-flex;
108
+ justify-content: center;
109
+ align-items: center;
110
+ border: none;
111
+ outline: none;
112
+ font-weight: 500;
113
+ text-transform: uppercase;
114
+ letter-spacing: 1px;
115
+ cursor: pointer;
116
+ transition: all 0.4s ease;
117
+ overflow: hidden;
118
+ }
119
+
120
+ /* Button 1: Gradient Glow */
121
+ .btn-1 {
122
+ background: linear-gradient(90deg, #ff0080, #ff8c00);
123
+ padding: 12px 30px;
124
+ border-radius: 50px;
125
+ font-size: 16px;
126
+ box-shadow: 0 5px 15px rgba(255, 0, 128, 0.4);
127
+ }
128
+
129
+ .btn-1:hover {
130
+ transform: translateY(-3px) scale(1.05);
131
+ box-shadow: 0 10px 25px rgba(255, 0, 128, 0.6);
132
+ }
133
+
134
+ /* Button 2: 3D Pop Effect */
135
+ .btn-2 {
136
+ background: linear-gradient(145deg, #1e88e5, #0d47a1);
137
+ padding: 14px 32px;
138
+ border-radius: 12px;
139
+ font-size: 16px;
140
+ transform: perspective(500px);
141
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
142
+ box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
143
+ }
144
+
145
+ .btn-2:hover {
146
+ transform: perspective(500px) rotateX(10deg) rotateY(5deg);
147
+ box-shadow: 0 15px 30px rgba(13, 71, 161, 0.4);
148
+ }
149
+
150
+ /* Button 3: Animated Border */
151
+ .btn-3 {
152
+ background: transparent;
153
+ border: 2px solid transparent;
154
+ padding: 12px 30px;
155
+ font-size: 16px;
156
+ position: relative;
157
+ color: #00e676;
158
+ }
159
+
160
+ .btn-3::before,
161
+ .btn-3::after {
162
+ content: '';
163
+ position: absolute;
164
+ width: 20px;
165
+ height: 20px;
166
+ border: 2px solid #00e676;
167
+ transition: all 0.6s ease;
168
+ }
169
+
170
+ .btn-3::before {
171
+ top: -6px;
172
+ left: -6px;
173
+ border-right: none;
174
+ border-bottom: none;
175
+ }
176
+
177
+ .btn-3::after {
178
+ bottom: -6px;
179
+ right: -6px;
180
+ border-left: none;
181
+ border-top: none;
182
+ }
183
+
184
+ .btn-3:hover::before,
185
+ .btn-3:hover::after {
186
+ width: calc(100% + 12px);
187
+ height: calc(100% + 12px);
188
+ }
189
+
190
+ /* Button 4: Liquid Fill */
191
+ .btn-4 {
192
+ background: #1a237e;
193
+ padding: 14px 32px;
194
+ border-radius: 8px;
195
+ font-size: 16px;
196
+ z-index: 1;
197
+ overflow: hidden;
198
+ }
199
+
200
+ .btn-4::before {
201
+ content: '';
202
+ position: absolute;
203
+ top: 0;
204
+ left: 0;
205
+ width: 100%;
206
+ height: 0%;
207
+ background: #5c6bc0;
208
+ transition: height 0.4s ease;
209
+ z-index: -1;
210
+ }
211
+
212
+ .btn-4:hover::before {
213
+ height: 100%;
214
+ }
215
+
216
+ /* Button 5: Particle Explosion */
217
+ .btn-5 {
218
+ background: #e91e63;
219
+ padding: 12px 28px;
220
+ border-radius: 8px;
221
+ font-size: 16px;
222
+ overflow: visible;
223
+ }
224
+
225
+ .btn-5::before {
226
+ content: '';
227
+ position: absolute;
228
+ top: 50%;
229
+ left: 50%;
230
+ width: 10px;
231
+ height: 10px;
232
+ background: rgba(255, 255, 255, 0.7);
233
+ border-radius: 50%;
234
+ transform: translate(-50%, -50%);
235
+ opacity: 0;
236
+ transition: all 0.6s ease;
237
+ }
238
+
239
+ .btn-5:hover::before {
240
+ opacity: 1;
241
+ transform: translate(-50%, -50%) scale(30);
242
+ }
243
+
244
+ /* Button 6: Neumorphic Design */
245
+ .btn-6 {
246
+ background: #f0f0f0;
247
+ color: #444;
248
+ padding: 14px 32px;
249
+ border-radius: 16px;
250
+ font-size: 16px;
251
+ box-shadow: 6px 6px 16px rgba(0,0,0,0.1),
252
+ -6px -6px 16px rgba(255,255,255,0.8);
253
+ }
254
+
255
+ .btn-6:hover {
256
+ box-shadow: inset 4px 4px 10px rgba(0,0,0,0.1),
257
+ inset -4px -4px 10px rgba(255,255,255,0.8);
258
+ }
259
+
260
+ /* Button 7: Floating Animation */
261
+ .btn-7 {
262
+ background: linear-gradient(90deg, #3a7bd5, #00d2ff);
263
+ padding: 12px 30px;
264
+ border-radius: 50px;
265
+ font-size: 16px;
266
+ animation: float 3s ease-in-out infinite;
267
+ }
268
+
269
+ /* Button 8: Shine Effect */
270
+ .btn-8 {
271
+ background: linear-gradient(90deg, #141e30, #243b55);
272
+ padding: 14px 32px;
273
+ border-radius: 8px;
274
+ font-size: 16px;
275
+ overflow: hidden;
276
+ }
277
+
278
+ .btn-8::after {
279
+ content: '';
280
+ position: absolute;
281
+ top: -50%;
282
+ left: -60%;
283
+ width: 30%;
284
+ height: 200%;
285
+ background: rgba(255,255,255,0.15);
286
+ transform: rotate(30deg);
287
+ transition: all 0.6s ease;
288
+ }
289
+
290
+ .btn-8:hover::after {
291
+ left: 130%;
292
+ }
293
+
294
+ /* Button 9: Rotate 3D */
295
+ .btn-9 {
296
+ background: transparent;
297
+ border: 2px solid #18ffff;
298
+ padding: 12px 28px;
299
+ font-size: 16px;
300
+ color: #18ffff;
301
+ perspective: 500px;
302
+ transform-style: preserve-3d;
303
+ transition: all 0.6s ease;
304
+ }
305
+
306
+ .btn-9 span {
307
+ display: inline-block;
308
+ transition: transform 0.6s ease;
309
+ }
310
+
311
+ .btn-9:hover {
312
+ background: #18ffff;
313
+ color: #000;
314
+ }
315
+
316
+ .btn-9:hover span {
317
+ transform: rotateY(360deg);
318
+ }
319
+
320
+ /* Button 10: Text Color Shift */
321
+ .btn-10 {
322
+ background: #000;
323
+ padding: 14px 32px;
324
+ border-radius: 8px;
325
+ font-size: 16px;
326
+ color: white;
327
+ overflow: hidden;
328
+ }
329
+
330
+ .btn-10 span {
331
+ position: relative;
332
+ transition: color 0.4s 0.1s ease;
333
+ }
334
+
335
+ .btn-10:hover span {
336
+ color: transparent;
337
+ }
338
+
339
+ .btn-10::before {
340
+ content: attr(data-text);
341
+ position: absolute;
342
+ top: 50%;
343
+ left: 50%;
344
+ color: #ffeb3b;
345
+ transform: translate(-50%, -50%);
346
+ font-weight: bold;
347
+ opacity: 0;
348
+ transition: all 0.4s ease;
349
+ }
350
+
351
+ .btn-10:hover::before {
352
+ opacity: 1;
353
+ animation: textGlow 1s ease-in-out infinite alternate;
354
+ }
355
+
356
+ @keyframes textGlow {
357
+ 0% { text-shadow: 0 0 5px #ffeb3b; }
358
+ 100% { text-shadow: 0 0 20px #ffeb3b, 0 0 30px #ffeb3b; }
359
+ }
360
+
361
+ /* Button 11: Glitch Effect */
362
+ .btn-11 {
363
+ background: #000;
364
+ border: 2px solid #ff00c3;
365
+ padding: 12px 30px;
366
+ font-size: 16px;
367
+ color: #ff00c3;
368
+ position: relative;
369
+ }
370
+
371
+ .btn-11:hover {
372
+ animation: glitch 0.3s linear infinite;
373
+ }
374
+
375
+ @keyframes glitch {
376
+ 0% { transform: translate(0); }
377
+ 20% { transform: translate(-2px, 2px); }
378
+ 40% { transform: translate(-2px, -2px); }
379
+ 60% { transform: translate(2px, 2px); }
380
+ 80% { transform: translate(2px, -2px); }
381
+ 100% { transform: translate(0); }
382
+ }
383
+
384
+ /* Button 12: Gradient Shift */
385
+ .btn-12 {
386
+ background: linear-gradient(90deg, #fd1d1d, #fcb045, #fd1d1d);
387
+ background-size: 200% 100%;
388
+ padding: 14px 32px;
389
+ border-radius: 50px;
390
+ font-size: 16px;
391
+ transition: all 0.6s ease;
392
+ }
393
+
394
+ .btn-12:hover {
395
+ background-position: 100% 0;
396
+ }
397
+
398
+ /* Button 13: Morphing Border */
399
+ .btn-13 {
400
+ background: transparent;
401
+ border: 2px solid #ff4081;
402
+ padding: 12px 28px;
403
+ font-size: 16px;
404
+ color: #ff4081;
405
+ position: relative;
406
+ transition: all 0.4s ease;
407
+ }
408
+
409
+ .btn-13:hover {
410
+ border-radius: 0;
411
+ color: white;
412
+ background: #ff4081;
413
+ }
414
+
415
+ .btn-13::before,
416
+ .btn-13::after {
417
+ content: '';
418
+ position: absolute;
419
+ width: 16px;
420
+ height: 16px;
421
+ border: 2px solid #ff4081;
422
+ transition: all 0.4s ease;
423
+ }
424
+
425
+ .btn-13::before {
426
+ top: -6px;
427
+ left: -6px;
428
+ border-right: 0;
429
+ border-bottom: 0;
430
+ }
431
+
432
+ .btn-13::after {
433
+ bottom: -6px;
434
+ right: -6px;
435
+ border-left: 0;
436
+ border-top: 0;
437
+ }
438
+
439
+ .btn-13:hover::before,
440
+ .btn-13:hover::after {
441
+ width: calc(100% + 4px);
442
+ height: calc(100% + 4px);
443
+ border-color: white;
444
+ }
445
+
446
+ /* Button 14: Circular Fill */
447
+ .btn-14 {
448
+ background: #6a1b9a;
449
+ padding: 12px 30px;
450
+ border-radius: 50px;
451
+ font-size: 16px;
452
+ position: relative;
453
+ z-index: 1;
454
+ overflow: hidden;
455
+ }
456
+
457
+ .btn-14::before {
458
+ content: '';
459
+ position: absolute;
460
+ top: 50%;
461
+ left: 50%;
462
+ transform: translate(-50%, -50%);
463
+ width: 0;
464
+ height: 0;
465
+ background: rgba(255, 255, 255, 0.2);
466
+ border-radius: 50%;
467
+ z-index: -1;
468
+ transition: all 0.6s ease;
469
+ }
470
+
471
+ .btn-14:hover::before {
472
+ width: 300px;
473
+ height: 300px;
474
+ }
475
+
476
+ /* Button 15: Icon Scale */
477
+ .btn-15 {
478
+ background: linear-gradient(45deg, #4a148c, #7b1fa2);
479
+ padding: 12px 32px;
480
+ border-radius: 8px;
481
+ font-size: 16px;
482
+ display: flex;
483
+ align-items: center;
484
+ gap: 10px;
485
+ overflow: hidden;
486
+ }
487
+
488
+ .btn-15 i {
489
+ font-size: 20px;
490
+ transition: all 0.4s ease;
491
+ }
492
+
493
+ .btn-15:hover i {
494
+ transform: scale(1.5) translateX(20px);
495
+ opacity: 0;
496
+ }
497
+
498
+ /* Button 16: Glass Morphism */
499
+ .btn-16 {
500
+ background: rgba(255, 255, 255, 0.1);
501
+ backdrop-filter: blur(10px);
502
+ border: 1px solid rgba(255, 255, 255, 0.2);
503
+ padding: 14px 32px;
504
+ border-radius: 50px;
505
+ font-size: 16px;
506
+ color: white;
507
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
508
+ transition: all 0.4s ease;
509
+ }
510
+
511
+ .btn-16:hover {
512
+ background: rgba(255, 255, 255, 0.2);
513
+ transform: translateY(-3px);
514
+ box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
515
+ }
516
+
517
+ /* Button 17: Diagonal Slide */
518
+ .btn-17 {
519
+ background: #263238;
520
+ padding: 12px 30px;
521
+ font-size: 16px;
522
+ position: relative;
523
+ overflow: hidden;
524
+ }
525
+
526
+ .btn-17::before {
527
+ content: '';
528
+ position: absolute;
529
+ top: 0;
530
+ left: -100%;
531
+ width: 100%;
532
+ height: 100%;
533
+ background: rgba(41, 182, 246, 0.7);
534
+ transform: skewX(30deg);
535
+ transition: all 0.6s ease;
536
+ }
537
+
538
+ .btn-17:hover::before {
539
+ left: 120%;
540
+ }
541
+
542
+ /* Button 18: Double Border */
543
+ .btn-18 {
544
+ background: transparent;
545
+ padding: 12px 28px;
546
+ font-size: 16px;
547
+ color: #ff6d00;
548
+ position: relative;
549
+ transition: all 0.4s ease;
550
+ }
551
+
552
+ .btn-18::before,
553
+ .btn-18::after {
554
+ content: '';
555
+ position: absolute;
556
+ width: 0;
557
+ height: 0;
558
+ border: 2px solid transparent;
559
+ transition: all 0.4s ease;
560
+ }
561
+
562
+ .btn-18::before {
563
+ top: 0;
564
+ left: 0;
565
+ border-top-color: #ff6d00;
566
+ border-right-color: #ff6d00;
567
+ }
568
+
569
+ .btn-18::after {
570
+ bottom: 0;
571
+ right: 0;
572
+ border-bottom-color: #ff6d00;
573
+ border-left-color: #ff6d00;
574
+ }
575
+
576
+ .btn-18:hover {
577
+ background: rgba(255, 109, 0, 0.1);
578
+ }
579
+
580
+ .btn-18:hover::before,
581
+ .btn-18:hover::after {
582
+ width: 100%;
583
+ height: 100%;
584
+ }
585
+
586
+ /* Button 19: Jelly Effect */
587
+ .btn-19 {
588
+ background: #d32f2f;
589
+ padding: 14px 32px;
590
+ border-radius: 8px;
591
+ font-size: 16px;
592
+ transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
593
+ }
594
+
595
+ .btn-19:hover {
596
+ transform: scale(0.95);
597
+ border-radius: 20px;
598
+ }
599
+
600
+ /* Button 20: Flip Animation */
601
+ .btn-20 {
602
+ background: #2e7d32;
603
+ padding: 14px 32px;
604
+ border-radius: 8px;
605
+ font-size: 16px;
606
+ perspective: 500px;
607
+ position: relative;
608
+ }
609
+
610
+ .btn-20 span {
611
+ display: block;
612
+ transition: transform 0.4s ease;
613
+ }
614
+
615
+ .btn-20:hover span {
616
+ transform: rotateX(360deg);
617
+ }
618
+
619
+ /* Button 21: Gradient Border */
620
+ .btn-21 {
621
+ background: #1a1a1a;
622
+ padding: 4px;
623
+ border-radius: 50px;
624
+ position: relative;
625
+ overflow: hidden;
626
+ }
627
+
628
+ .btn-21::before {
629
+ content: '';
630
+ position: absolute;
631
+ top: -2px;
632
+ left: -2px;
633
+ right: -2px;
634
+ bottom: -2px;
635
+ background: linear-gradient(45deg, #ff00cc, #3333ff);
636
+ z-index: -1;
637
+ border-radius: 50px;
638
+ }
639
+
640
+ .btn-21 span {
641
+ display: block;
642
+ background: #1a1a1a;
643
+ padding: 10px 28px;
644
+ border-radius: 50px;
645
+ font-size: 16px;
646
+ z-index: 1;
647
+ transition: background 0.4s ease;
648
+ }
649
+
650
+ .btn-21:hover span {
651
+ background: transparent;
652
+ }
653
+
654
+ /* Button 22: Neon Glow */
655
+ .btn-22 {
656
+ background: #0c0c22;
657
+ border: 2px solid #00ffff;
658
+ padding: 12px 28px;
659
+ font-size: 16px;
660
+ color: #00ffff;
661
+ box-shadow: 0 0 10px #00ffff, inset 0 0 10px #00ffff;
662
+ text-shadow: 0 0 5px #00ffff;
663
+ transition: all 0.4s ease;
664
+ }
665
+
666
+ .btn-22:hover {
667
+ box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, inset 0 0 10px #00ffff;
668
+ }
669
+
670
+ /* Button 23: Hover Underline */
671
+ .btn-23 {
672
+ background: transparent;
673
+ border: none;
674
+ padding: 12px 0;
675
+ font-size: 18px;
676
+ position: relative;
677
+ color: white;
678
+ }
679
+
680
+ .btn-23::after {
681
+ content: '';
682
+ position: absolute;
683
+ bottom: 5px;
684
+ left: 0;
685
+ width: 100%;
686
+ height: 2px;
687
+ background: #ff5722;
688
+ transform: scaleX(0);
689
+ transform-origin: bottom right;
690
+ transition: transform 0.4s ease;
691
+ }
692
+
693
+ .btn-23:hover::after {
694
+ transform: scaleX(1);
695
+ transform-origin: bottom left;
696
+ }
697
+
698
+ /* Button 24: Staggered Text */
699
+ .btn-24 {
700
+ background: #455a64;
701
+ padding: 12px 28px;
702
+ border-radius: 8px;
703
+ font-size: 16px;
704
+ color: white;
705
+ }
706
+
707
+ .btn-24 span {
708
+ display: inline-block;
709
+ }
710
+
711
+ .btn-24:hover span {
712
+ animation: letterWave 0.8s ease;
713
+ animation-delay: calc(0.1s * var(--i));
714
+ }
715
+
716
+ @keyframes letterWave {
717
+ 0%, 40%, 100% { transform: translateY(0) }
718
+ 20% { transform: translateY(-15px) }
719
+ }
720
+
721
+ /* Button 25: Infinite Pulse */
722
+ .btn-25 {
723
+ background: #e53935;
724
+ padding: 14px 32px;
725
+ border-radius: 50px;
726
+ font-size: 16px;
727
+ animation: pulse-slow 2s infinite;
728
+ }
729
+
730
+ /* Button 26: Magnetic Effect */
731
+ .btn-26 {
732
+ background: #4527a0;
733
+ padding: 12px 30px;
734
+ border-radius: 8px;
735
+ font-size: 16px;
736
+ transition: all 0.3s ease;
737
+ }
738
+
739
+ .btn-26:hover {
740
+ transform: translate(var(--x, 0), var(--y, 0));
741
+ }
742
+
743
+ /* Button 27: Button Wave */
744
+ .btn-27 {
745
+ background: #0277bd;
746
+ padding: 14px 32px;
747
+ border-radius: 8px;
748
+ font-size: 16px;
749
+ position: relative;
750
+ overflow: hidden;
751
+ }
752
+
753
+ .btn-27:hover {
754
+ animation: wave 1.5s ease-out infinite;
755
+ }
756
+
757
+ @keyframes wave {
758
+ 0% { box-shadow: 0 0 0 0 rgba(2, 119, 189, 0.7); }
759
+ 70% { box-shadow: 0 0 0 20px rgba(2, 119, 189, 0); }
760
+ 100% { box-shadow: 0 0 0 0 rgba(2, 119, 189, 0); }
761
+ }
762
+
763
+ /* Button 28: Hover Glow */
764
+ .btn-28 {
765
+ background: #000;
766
+ border: 2px solid #ffc107;
767
+ padding: 12px 28px;
768
+ font-size: 16px;
769
+ color: #ffc107;
770
+ transition: all 0.4s ease;
771
+ }
772
+
773
+ .btn-28:hover {
774
+ box-shadow: 0 0 20px #ffc107, 0 0 40px #ffc107;
775
+ color: white;
776
+ text-shadow: 0 0 10px white;
777
+ }
778
+
779
+ /* Button 29: Button with Border Animation */
780
+ .btn-29 {
781
+ background: transparent;
782
+ border: none;
783
+ padding: 12px 30px;
784
+ font-size: 16px;
785
+ color: white;
786
+ position: relative;
787
+ }
788
+
789
+ .btn-29::before,
790
+ .btn-29::after {
791
+ content: '';
792
+ position: absolute;
793
+ width: 100%;
794
+ height: 2px;
795
+ background: linear-gradient(90deg, transparent, #ff1744, transparent);
796
+ left: 0;
797
+ transition: all 0.6s ease;
798
+ }
799
+
800
+ .btn-29::before {
801
+ top: 0;
802
+ }
803
+
804
+ .btn-29::after {
805
+ bottom: 0;
806
+ }
807
+
808
+ .btn-29:hover::before {
809
+ transform: translateX(100%);
810
+ }
811
+
812
+ .btn-29:hover::after {
813
+ transform: translateX(-100%);
814
+ }
815
+
816
+ /* Button 30: Animated Gradient Text */
817
+ .btn-30 {
818
+ background: #000;
819
+ padding: 14px 32px;
820
+ border-radius: 8px;
821
+ font-size: 16px;
822
+ position: relative;
823
+ overflow: hidden;
824
+ }
825
+
826
+ .btn-30 span {
827
+ background: linear-gradient(90deg, #00bcd4, #3f51b5, #9c27b0);
828
+ background-size: 200% auto;
829
+ -webkit-background-clip: text;
830
+ -webkit-text-fill-color: transparent;
831
+ transition: background-position 0.8s ease;
832
+ }
833
+
834
+ .btn-30:hover span {
835
+ background-position: -100% 0;
836
+ }
837
+
838
+ /* Responsive adjustments */
839
+ @media (max-width: 768px) {
840
+ .button-container {
841
+ grid-template-columns: 1fr;
842
+ }
843
+
844
+ .button-card {
845
+ padding: 1.5rem;
846
+ }
847
+
848
+ .btn {
849
+ padding: 10px 20px;
850
+ font-size: 14px;
851
+ }
852
+ }
853
+ </style>
854
+ </head>
855
+ <body>
856
+ <header class="text-center mb-16">
857
+ <h1 class="text-4xl md:text-6xl font-bold text-white mb-4 animate-bounce">Modern Button Gallery</h1>
858
+ <p class="text-xl text-white/80 max-w-2xl mx-auto">30 unique button designs with creative animations and hover effects</p>
859
+ </header>
860
+
861
+ <div class="button-container">
862
+ <!-- Button 1 -->
863
+ <div class="button-card">
864
+ <h3>Gradient Glow</h3>
865
+ <button class="btn btn-1">Hover Me</button>
866
+ </div>
867
+
868
+ <!-- Button 2 -->
869
+ <div class="button-card">
870
+ <h3>3D Pop Effect</h3>
871
+ <button class="btn btn-2">Click Me</button>
872
+ </div>
873
+
874
+ <!-- Button 3 -->
875
+ <div class="button-card">
876
+ <h3>Animated Border</h3>
877
+ <button class="btn btn-3">Try Me</button>
878
+ </div>
879
+
880
+ <!-- Button 4 -->
881
+ <div class="button-card">
882
+ <h3>Liquid Fill</h3>
883
+ <button class="btn btn-4">Fill Me</button>
884
+ </div>
885
+
886
+ <!-- Button 5 -->
887
+ <div class="button-card">
888
+ <h3>Particle Explosion</h3>
889
+ <button class="btn btn-5">Explode</button>
890
+ </div>
891
+
892
+ <!-- Button 6 -->
893
+ <div class="button-card">
894
+ <h3>Neumorphic Design</h3>
895
+ <button class="btn btn-6">Press Me</button>
896
+ </div>
897
+
898
+ <!-- Button 7 -->
899
+ <div class="button-card">
900
+ <h3>Floating Animation</h3>
901
+ <button class="btn btn-7">Float Away</button>
902
+ </div>
903
+
904
+ <!-- Button 8 -->
905
+ <div class="button-card">
906
+ <h3>Shine Effect</h3>
907
+ <button class="btn btn-8">Shine On</button>
908
+ </div>
909
+
910
+ <!-- Button 9 -->
911
+ <div class="button-card">
912
+ <h3>Rotate 3D Text</h3>
913
+ <button class="btn btn-9"><span>Rotate Me</span></button>
914
+ </div>
915
+
916
+ <!-- Button 10 -->
917
+ <div class="button-card">
918
+ <h3>Text Color Shift</h3>
919
+ <button class="btn btn-10" data-text="SUCCESS"><span>Hover</span></button>
920
+ </div>
921
+
922
+ <!-- Button 11 -->
923
+ <div class="button-card">
924
+ <h3>Glitch Effect</h3>
925
+ <button class="btn btn-11">Glitch</button>
926
+ </div>
927
+
928
+ <!-- Button 12 -->
929
+ <div class="button-card">
930
+ <h3>Gradient Shift</h3>
931
+ <button class="btn btn-12">Slide</button>
932
+ </div>
933
+
934
+ <!-- Button 13 -->
935
+ <div class="button-card">
936
+ <h3>Morphing Border</h3>
937
+ <button class="btn btn-13">Morph</button>
938
+ </div>
939
+
940
+ <!-- Button 14 -->
941
+ <div class="button-card">
942
+ <h3>Circular Fill</h3>
943
+ <button class="btn btn-14">Expand</button>
944
+ </div>
945
+
946
+ <!-- Button 15 -->
947
+ <div class="button-card">
948
+ <h3>Icon Scale</h3>
949
+ <button class="btn btn-15"><i>→</i><span>Send</span></button>
950
+ </div>
951
+
952
+ <!-- Button 16 -->
953
+ <div class="button-card">
954
+ <h3>Glass Morphism</h3>
955
+ <button class="btn btn-16">Glass</button>
956
+ </div>
957
+
958
+ <!-- Button 17 -->
959
+ <div class="button-card">
960
+ <h3>Diagonal Slide</h3>
961
+ <button class="btn btn-17">Slide In</button>
962
+ </div>
963
+
964
+ <!-- Button 18 -->
965
+ <div class="button-card">
966
+ <h3>Double Border</h3>
967
+ <button class="btn btn-18">Animate Borders</button>
968
+ </div>
969
+
970
+ <!-- Button 19 -->
971
+ <div class="button-card">
972
+ <h3>Jelly Effect</h3>
973
+ <button class="btn btn-19">Squish</button>
974
+ </div>
975
+
976
+ <!-- Button 20 -->
977
+ <div class="button-card">
978
+ <h3>Text Flip</h3>
979
+ <button class="btn btn-20"><span>Flip</span></button>
980
+ </div>
981
+
982
+ <!-- Button 21 -->
983
+ <div class="button-card">
984
+ <h3>Gradient Border</h3>
985
+ <button class="btn btn-21"><span>Gradient</span></button>
986
+ </div>
987
+
988
+ <!-- Button 22 -->
989
+ <div class="button-card">
990
+ <h3>Neon Glow</h3>
991
+ <button class="btn btn-22">Neon</button>
992
+ </div>
993
+
994
+ <!-- Button 23 -->
995
+ <div class="button-card">
996
+ <h3>Hover Underline</h3>
997
+ <button class="btn btn-23">Highlight</button>
998
+ </div>
999
+
1000
+ <!-- Button 24 -->
1001
+ <div class="button-card">
1002
+ <h3>Staggered Text</h3>
1003
+ <button class="btn btn-24"><span style="--i:1">S</span><span style="--i:2">t</span><span style="--i:3">a</span><span style="--i:4">g</span><span style="--i:5">g</span><span style="--i:6">e</span><span style="--i:7">r</span></button>
1004
+ </div>
1005
+
1006
+ <!-- Button 25 -->
1007
+ <div class="button-card">
1008
+ <h3>Infinite Pulse</h3>
1009
+ <button class="btn btn-25">Pulse</button>
1010
+ </div>
1011
+
1012
+ <!-- Button 26 -->
1013
+ <div class="button-card">
1014
+ <h3>Magnetic Effect</h3>
1015
+ <button class="btn btn-26">Magnet</button>
1016
+ </div>
1017
+
1018
+ <!-- Button 27 -->
1019
+ <div class="button-card">
1020
+ <h3>Button Wave</h3>
1021
+ <button class="btn btn-27">Wave</button>
1022
+ </div>
1023
+
1024
+ <!-- Button 28 -->
1025
+ <div class="button-card">
1026
+ <h3>Hover Glow</h3>
1027
+ <button class="btn btn-28">Glow</button>
1028
+ </div>
1029
+
1030
+ <!-- Button 29 -->
1031
+ <div class="button-card">
1032
+ <h3>Border Animation</h3>
1033
+ <button class="btn btn-29">Animate Borders</button>
1034
+ </div>
1035
+
1036
+ <!-- Button 30 -->
1037
+ <div class="button-card">
1038
+ <h3>Gradient Text</h3>
1039
+ <button class="btn btn-30"><span>Gradient Text</span></button>
1040
+ </div>
1041
+ </div>
1042
+
1043
+ <script>
1044
+ // Magnetic button effect
1045
+ const magneticButtons = document.querySelectorAll('.btn-26');
1046
+
1047
+ magneticButtons.forEach(button => {
1048
+ button.addEventListener('mousemove', (e) => {
1049
+ const rect = button.getBoundingClientRect();
1050
+ const x = e.clientX - rect.left;
1051
+ const y = e.clientY - rect.top;
1052
+
1053
+ const centerX = rect.width / 2;
1054
+ const centerY = rect.height / 2;
1055
+
1056
+ const deltaX = (centerX - x) / 10;
1057
+ const deltaY = (centerY - y) / 10;
1058
+
1059
+ button.style.setProperty('--x', `${deltaX}px`);
1060
+ button.style.setProperty('--y', `${deltaY}px`);
1061
+ });
1062
+
1063
+ button.addEventListener('mouseleave', () => {
1064
+ button.style.setProperty('--x', '0px');
1065
+ button.style.setProperty('--y', '0px');
1066
+ });
1067
+ });
1068
+
1069
+ // Staggered text button animation with delay
1070
+ document.querySelector('.btn-24').addEventListener('mouseenter', function() {
1071
+ const letters = this.querySelectorAll('span');
1072
+ letters.forEach(letter => {
1073
+ // Reset animation to retrigger it
1074
+ letter.style.animation = 'none';
1075
+ setTimeout(() => {
1076
+ letter.style.animation = 'letterWave 0.8s ease';
1077
+ letter.style.animationDelay = `calc(0.1s * ${letter.dataset.i || 0})`;
1078
+ }, 10);
1079
+ });
1080
+ });
1081
+ </script>
1082
+ <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-2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1083
+ </html>