-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleform.css
More file actions
114 lines (98 loc) · 1.84 KB
/
styleform.css
File metadata and controls
114 lines (98 loc) · 1.84 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
106
107
108
109
110
111
112
113
*{
padding: 0px;
margin: 0px;
box-sizing: border-box;
font-family: 'Courier New', Courier, monospace;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-image: url(Assets/SNClogo.png);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed ;
background-position: center ;
}
main{
width: 400px;
padding: 20px;
border-radius: 10px;
border: 2px solid black;
position: relative;
backdrop-filter: blur(8px);
/* backdrop-filter: sepia(90%); */
}
main header{
position: absolute;
top:0px;
left: 50%;
transform: translateX(-50%);
padding: 10px 20px;
background-color: #d4b384;
border-radius: 0px 0px 10px 10px;
}
form{
margin-top: 80px;
display: flex;
flex-direction: column;
gap: 20px;
}
input[type = "text"],
input[type = "password"]{
padding: 10px;
border: 2px solid black;
width: 100%;
border-radius: 25px;
outline: none;
background-color: transparent;
}
.form-wrapper{
position: relative;
display: flex;
align-items: center;
}
label{
position: absolute;
left: 10px;
transition: 1s;
}
i{
position: absolute;
right: 10px;
}
.remember-box{
display: flex;
align-items: center;
justify-content: space-between;
font-size: 12.5px;
}
.remember{
display: flex;
align-items: center;
gap: 5px;
}
a{
color: black;
}
button{
border: none;
padding: 10px;
border-radius: 25px ;
color: black;
background-color: wheat;
cursor: pointer;
}
input:valid + label ,
input:focus +label {
background-color: black;
color: wheat;
transform: translate(10px , -20px);
padding: 2px 5px;
font-size: 12px;
border-radius: 8px;
}
.new-account{
text-align: center;
}