-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformstyle.css
93 lines (90 loc) · 1.63 KB
/
formstyle.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
@import url("https://fonts.googleapis.com");
@import url("https://fonts.gstatic.com");
@import url("https://fonts.googleapis.com/css2?family=Space+Mono&display=swap");
body {
box-sizing: border-box;
margin: 0;
padding: 0;
background-color: white;
font-family:'Space Mono', monospace;
letter-spacing: 2px;
word-spacing: 1px;
}
.signupFrm {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.form {
background-color: white;
width: 400px;
border-radius: 8px;
padding: 20px 40px;
box-shadow: 0 10px 25px rgba(92, 99, 105, 0.2);
}
.title {
font-size: 50px;
margin-bottom: 50px;
}
.inputContainer {
position: relative;
height: 45px;
width: 90%;
margin-bottom: 17px;
}
.input {
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
border: 1px solid #dadce0;
border-radius: 7px;
font-size: 16px;
padding: 0 20px;
outline: none;
background: none;
z-index: 1;
}
::placeholder {
color: transparent;
}
.label {
position: absolute;
top: 15px;
left: 15px;
padding: 0 4px;
background-color: white;
color: #dadce0;
font-size: 16px;
transition: 0.5s;
z-index: 0;
}
.submitBtn {
display: block;
margin-left: auto;
padding: 15px 30px;
border: none;
background-color: purple;
color: white;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
margin-top: 30px;
font-family: monospace;
letter-spacing: 2px;
word-spacing: 1px;
}
.submitBtn:hover {
background-color: #9867c5;
transform: translateY(-2px);
}
.input:focus + .label {
top: -7px;
left: 3px;
z-index: 10;
font-size: 14px;
font-weight: 600;
color: purple;
}