-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.css
122 lines (110 loc) · 2.02 KB
/
signup.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
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
body{
margin:0;
padding: 0;
font-family: montserrat;
background: linear-gradient(120deg,#2980b9,#8e44ad);
height:100vh;
overflow: hidden;
}
.center{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 400px;
background: white;
border-radius: 10px;
}
.center h1{
text-align: center;
padding: 0 0 20px 0;
border-bottom: 1px solid silver;
}
.center form{
padding:0 40px;
box-sizing: border-box;
}
form .txt_field{
position: relative;
border-bottom: 2px solid #adadad;
margin: 30px 0;
}
.txt_field input{
width:100%;
padding: 0 5px;
height: 40px;
font-size:16px;
border:none;
background: none;
outline:none;
}
.txt_field label{
position: absolute;
top:50%;
left:5px;
color:#adadad;
transform: translateY(-50%);
font-size: 16px;
pointer-events: none;
}
.txt_field span::before{
content:'';
position: absolute;
top:40px;
left:0;
width:100%;
height:2px;
background:#2691d9 ;
}
.txt_field input:focus ~ label,
.txt_field input:valid ~ label{
top: -5px;
color: #2691d9;
}
.txt_field input:focus ~ span::before,
.txt_field input:valid ~ span::before{
width:100%;
}
.pass:hover{
text-decoration: underline;
color:rgb(243, 24, 42);
}
input[type="submit"]{
width:100%;
height: 50px;
border: 2px solid;
background: #2691d9;
border-radius: 25px;
font-size: 18px;
cursor: pointer;
outline:none;
}
input[type="submit"]:hover{
border-color: #2691d9;
color:white;
transition:.5s;
}
.login_link{
margin:30px 0;
text-align: center;
font-size: 16px;
color:#666666;
}
.login_link a{
color:#2691d9;
text-decoration: none;
}
.login_link a:hover{
color:#2691d9;
text-decoration: underline;
}
.center form .error-msg{
margin:10px 0;
background: crimson;
display: block;
color:#fff;
border-radius: 5px;
font-size:25px;
text-align: center;
padding:10px;
}