-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
73 lines (59 loc) · 1.11 KB
/
style.css
File metadata and controls
73 lines (59 loc) · 1.11 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
* {
margin: 0;
}
body {
background-image: url(./bacground\ img.jpg);
background-repeat: no-repeat;
width: 100%;
height: 100vh;
background-size: cover;
background-position: center;
}
h1 {
text-align: center;
}
.continer {
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
form {
background-color: rgb(59 51 51 / 58%);
color: #fff;
width: 400px;
padding: 10px;
}
.form-grp {
display: flex;
flex-direction: column;
}
button {
margin-top: 10px;
width: 100%;
padding: 6px;
background-color: rgba(0, 0, 0, 0.647);
color: #fff;
border: none;
cursor: pointer;
}
.form-grp div {
visibility: hidden;
}
.form-grp input {
outline: none;
padding: 5px;
border-radius: 5px;
border: 1px solid gray;
}
.form-grp.error div {
visibility: visible;
color: red;
}
.form-grp.error input {
border: 1px solid rgb(255, 0, 0);
}
.form-grp.success input {
border: 1px solid rgb(0, 255, 0);
}