-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css.css
More file actions
105 lines (102 loc) · 1.56 KB
/
style2.css.css
File metadata and controls
105 lines (102 loc) · 1.56 KB
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
body
{
margin:0;
padding=0;
height:100vh;
}
.center{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
width:500px;
background:white;
border-radius:10px;
}
.center h1{
text-align:center;
padding:20px;
border-bottom:2px solid blue;
}
.center form{
padding:30px;
box-sizing:border-box;
}
form .txt_field{
position:relative;
border-bottom:3px solid #adadad;
margin:0 30px;
}
.txt_field input{
width:100%;
padding:5px;
height:0 40px;
font-size:16px;
border:none;
background: yellow;
outline:none;
}
.txt_field label{
position:absolute;
top:50%;
left:5px;
color:#adadad;
transform:translateY(-50%);
font-size:16px;
pointer-events:none;
transition:.5s
}
.txt_field span::before{
content:' ';
position:absolute;
top:40px;
left:0;
width:0;
height:2px;
background:#2691d9;
transition: .5s;
}
.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{
margin:-5px 0 20px 5px;
color:#a6a6a6;
cursor:pointer;
}
.pass:hover{
text-decoration:underline;
}
input[type="submit"]{
width:100%;
height:50px;
border:2px green solid;
background:blue;
border-radius:25px;
font-size:22px;
color:white;
cursor:pointer;
outline:none;
}
input[type="submit"]:hover{
border-color:blue;
transition:.5s;
}
.signup_link{
margin:30px 0;
text-align:center;
font-size:20px;
}
.signup_link a{
color:#2691d9;
text-decoration:none;
}
.signup_link a:hover{
text-decoration:underline;
}