|
4 | 4 | } |
5 | 5 |
|
6 | 6 | body { |
7 | | - background-color: brown; |
8 | | - font-family: Georgia, 'Times New Roman', Times, serif; |
| 7 | + background-color: #212121; |
| 8 | + font-family: "Segoe UI", sans-serif; |
9 | 9 | margin: 0; |
10 | 10 | overflow: hidden; |
11 | 11 | height: 100vh; |
|
26 | 26 | } |
27 | 27 |
|
28 | 28 | .btn { |
29 | | - background-color: red; |
| 29 | + position: relative; |
| 30 | + background: linear-gradient(to bottom, #e81cff8d, #40c9ff69); |
30 | 31 | padding: 15px; |
31 | 32 | width: 80%; |
32 | 33 | color: #fff; |
33 | 34 | border: 1px #fff; |
34 | 35 | border-radius: 7px; |
35 | | - font-size: 16px; |
| 36 | + font-family: "Segoe UI", sans-serif; |
| 37 | + font-weight: bold; |
| 38 | + font-size: 18px; |
| 39 | + animation: button-shimmer 2s infinite; |
| 40 | + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); |
| 41 | +} |
| 42 | + |
| 43 | +@keyframes button-shimmer { |
| 44 | + 0% { |
| 45 | + background-position: left top; |
| 46 | + } |
| 47 | + |
| 48 | + 100% { |
| 49 | + background-position: right bottom; |
| 50 | + } |
| 51 | +} |
| 52 | + |
| 53 | +@keyframes button-particles { |
| 54 | + 0% { |
| 55 | + background-position: left top; |
| 56 | + } |
| 57 | + |
| 58 | + 100% { |
| 59 | + background-position: right bottom; |
| 60 | + } |
36 | 61 | } |
37 | 62 |
|
38 | 63 | .btn:hover { |
39 | | - background-color: rgb(197, 9, 9); |
| 64 | + background: linear-gradient(to bottom, #e81cff, #40c9ff); |
| 65 | + animation: button-particles 1s ease-in-out infinite; |
| 66 | + transform: translateY(-2px); |
40 | 67 | } |
41 | 68 |
|
42 | 69 | a { |
|
45 | 72 | } |
46 | 73 |
|
47 | 74 | .container { |
48 | | - background-color: black; |
| 75 | + background: |
| 76 | + linear-gradient(#212121, #000) padding-box, |
| 77 | + linear-gradient(145deg, transparent 35%, #e81cff, #40c9ff) border-box; |
49 | 78 | padding: 20px 40px; |
50 | 79 | border-radius: 3%; |
51 | 80 | display: flex; |
52 | 81 | flex-direction: column; |
| 82 | + background-size: 200% 100%; |
| 83 | + animation: gradient 5s ease infinite; |
| 84 | + border: 2px solid transparent; |
| 85 | +} |
| 86 | + |
| 87 | +@keyframes gradient { |
| 88 | + 0% { |
| 89 | + background-position: 0% 50%; |
| 90 | + } |
| 91 | + |
| 92 | + 50% { |
| 93 | + background-position: 100% 50%; |
| 94 | + } |
| 95 | + |
| 96 | + 100% { |
| 97 | + background-position: 0% 50%; |
| 98 | + } |
53 | 99 | } |
54 | 100 |
|
55 | 101 | .form-control { |
|
61 | 107 | .form-control input { |
62 | 108 | background-color: transparent; |
63 | 109 | border: 0; |
64 | | - border-bottom: 2px #fff solid; |
| 110 | + border-bottom: 2px #ffffffd4 solid; |
65 | 111 | display: block; |
66 | 112 | width: 100%; |
67 | 113 | font-size: 18px; |
|
71 | 117 | .form-control input:focus, |
72 | 118 | .form-control input:valid { |
73 | 119 | outline: 0; |
74 | | - border-bottom-color: #fff; |
| 120 | + border-bottom-color: #ffffffd4; |
75 | 121 | } |
76 | 122 |
|
77 | 123 | .form-control label { |
78 | 124 | position: absolute; |
79 | 125 | top: 15px; |
80 | 126 | left: 0; |
| 127 | + color: #717171; |
81 | 128 | } |
82 | 129 |
|
83 | 130 | .form-control label span { |
|
89 | 136 |
|
90 | 137 | .form-control input:focus + label span, |
91 | 138 | .form-control input:valid + label span { |
92 | | - color: #fff; |
| 139 | + color: #ffffffb7; |
93 | 140 | transform: translateY(-20px); |
94 | 141 | } |
0 commit comments