-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
64 lines (63 loc) · 1.19 KB
/
styles.css
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
html {
text-align: center;
height: 100%;
}
body {
margin: 0;
padding: 0px;
font-family: sans-serif;
background: linear-gradient(#141e30, #243b55);
}
.login_box {
background-color: rgba(0, 0, 0, 5);
position: absolute;
top: 50%;
left: 50%;
width: 400px;
padding: 40px;
transform: translate(-50%, -50%);
box-sizing: border-box;
box-shadow: 0px 15px 25px rgba(0, 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: 0.5s;
}
.login_box .user_box input:focus ~ label,
.login_box .user_box input:valid ~ label {
top: -20px;
left: 0;
columns: #03e9f4;
font-size: 12px;
}
button {
margin: 0;
background-color: #03e9f4;
}