-
Notifications
You must be signed in to change notification settings - Fork 8
/
Login.html
235 lines (217 loc) · 6.7 KB
/
Login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Wanghao | Login</title>
<link rel="icon" type="image/x-icon" href="../favicon.ico"/>
<meta name="keywords" content="Login" />
<meta name="description" content="Login" />
<meta name="author" content="海拥(https://blog.csdn.net/qq_44273429/)" />
<meta name="copyright" content="海拥(https://blog.csdn.net/qq_44273429/)" />
<style>
html {
height: 100%;
}
body {
margin:0;
padding:0;
font-family: sans-serif;
background: linear-gradient(#141e30, #243b55);
}
.login-box {
position: absolute;
top: 50%;
left: 50%;
height: 100%;
width: 70%;
padding: 40px;
transform: translate(-50%, -50%);
background: rgba(0,0,0,.5);
box-sizing: border-box;
box-shadow: 0 15px 25px rgba(0,0,0,.6);
border-radius: 10px;
}
.login-box h2 {
margin: 0 0 30px;
padding: 0;
color: #fff;
text-align: center;
}
.login-box .user-box {
position: relative;
}
.login-box .user-box input {
width: 100%;
padding: 10px 0;
font-size: 16px;
color: #fff;
margin-bottom: 30px;
border: none;
border-bottom: 1px solid #fff;
outline: none;
background: transparent;
}
.login-box .user-box label {
position: absolute;
top:0;
left: 0;
padding: 10px 0;
font-size: 16px;
color: #fff;
pointer-events: none;
transition: .5s;
}
.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
top: -20px;
left: 0;
color: #03e9f4;
font-size: 12px;
}
.login-box form a {
position: relative;
display: inline-block;
padding: 10px 20px;
color: #03e9f4;
font-size: 16px;
text-decoration: none;
text-transform: uppercase;
overflow: hidden;
transition: .5s;
margin-top: 40px;
letter-spacing: 4px
}
.login-box a:hover {
background: #03e9f4;
color: #fff;
border-radius: 5px;
box-shadow: 0 0 5px #03e9f4,
0 0 25px #03e9f4,
0 0 50px #03e9f4,
0 0 100px #03e9f4;
}
.login-box a span {
position: absolute;
display: block;
}
.login-box a span:nth-child(1) {
top: 0;
left: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #03e9f4);
animation: btn-anim1 1s linear infinite;
}
@keyframes btn-anim1 {
0% {
left: -100%;
}
50%,100% {
left: 100%;
}
}
.login-box a span:nth-child(2) {
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, #03e9f4);
animation: btn-anim2 1s linear infinite;
animation-delay: .25s
}
@keyframes btn-anim2 {
0% {
top: -100%;
}
50%,100% {
top: 100%;
}
}
.login-box a span:nth-child(3) {
bottom: 0;
right: -100%;
width: 100%;
height: 2px;
background: linear-gradient(270deg, transparent, #03e9f4);
animation: btn-anim3 1s linear infinite;
animation-delay: .5s
}
@keyframes btn-anim3 {
0% {
right: -100%;
}
50%,100% {
right: 100%;
}
}
.login-box a span:nth-child(4) {
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg, transparent, #03e9f4);
animation: btn-anim4 1s linear infinite;
animation-delay: .75s
}
@keyframes btn-anim4 {
0% {
bottom: -100%;
}
50%,100% {
bottom: 100%;
}
}
</style>
</head>
<body>
<div class="login-box">
<h2>Login</h2>
<form>
<div class="user-box">
<input type="text" name="" required="">
<label>Username</label>
</div>
<div class="user-box">
<input type="password" name="" required="">
<label>Password</label>
</div>
<a href="https://wanghao221.github.io/game/">
<span></span><span></span><span></span><span></span>登录首页</a>
<a href="https://wanghao221.github.io/game/zaizai.html">
<span></span><span></span><span></span><span></span>打字游戏</a>
<a href="https://wanghao221.github.io/game/sheji.html">
<span></span><span></span><span></span><span></span>射击游戏</a>
<a href="https://wanghao221.github.io/game/Aircraft-Avoid-Obstacles.html">
<span></span><span></span><span></span><span></span>飞机躲避障碍物</a>
<a href="https://wanghao221.github.io/game/Lion-Game.html">
<span></span><span></span><span></span><span></span>爱吹风的狮子</a>
<a href="https://wanghao221.github.io/game/Santa-Claus.html">
<span></span><span></span><span></span><span></span>圣诞老人撑杆过桥</a>
<a href="https://wanghao221.github.io/game/Tamagotchi-Game.html">
<span></span><span></span><span></span><span></span>Tamagotchi养成游戏</a>
<a href="https://wanghao221.github.io/game/tiaotiaotang.html">
<span></span><span></span><span></span><span></span>果冻跳跳糖</a>
<a href="https://wanghao221.github.io/404.html">
<span></span><span></span><span></span><span></span>网站404页面小游戏</a>
<a href="https://wanghao221.github.io/game/Catch-A-Mole">
<span></span><span></span><span></span><span></span>打地鼠小游戏</a>
<a href="https://wanghao221.github.io/game/tutu.html">
<span></span><span></span><span></span><span></span>勇猛的兔子疯狂奔跑</a>
<a href="https://wanghao221.github.io/game/Pokemon.html">
<span></span><span></span><span></span><span></span>神奇宝贝小游戏</a>
<a href="https://wanghao221.github.io/game/2048.html">
<span></span><span></span><span></span><span></span>2048小游戏</a>
<a href="https://wanghao221.github.io/game/xiaoxiaole">
<span></span><span></span><span></span><span></span>消消乐</a>
<a href="https://wanghao221.github.io/game/switch.html">
<span></span><span></span><span></span><span></span>可爱的开关</a>
<a href="https://wanghao221.github.io/game/2048-Responsive.html">
<span></span><span></span><span></span><span></span>2048响应式</a>
<a href="https://wanghao221.github.io/game/Flappy-Dino.html">
<span></span><span></span><span></span><span></span>飞翔的恐龙</a>
<a href="https://wanghao221.github.io/game/XXOO.html">
<span></span><span></span><span></span><span></span>XXOO小游戏</a>
</form>
</div>
</body>
</html>