-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
90 lines (74 loc) · 1.44 KB
/
index.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
form {
max-width: 600px;
margin: auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}
h1{
text-align: center;
}
label, input[type="submit"] {
display: block;
margin-bottom: 10px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="date"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
font-size: 16px;
margin-bottom: 10px;
}
input[type="checkbox"]{
padding: 10px;
border-radius: 10px;
box-sizing: border-box;
margin-bottom: auto;
}
button[type="submit"] {
background-color: rgb(92, 92, 170);
border-color:black;
cursor: pointer;
color: whitesmoke;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 16px;
}
button[type="submit"]:hover {
background-color: yellowgreen;
}
input#name:invalid:focus{
border:1px solid red;
}
input#email:invalid:focus{
border:1px solid red;
}
.error {
color: red;
margin-bottom: 10px;
}
.Display{
display: grid;
}
.mx-auto {
text-align: center;
margin-right: auto!important;
margin-left: auto!important;
}
.align {
text-align: -webkit-center;
}
.container{
border: 2px;
border-radius: 2px;
border-color: black;
}
.form{
padding-top: 20px;
}
button {
display: -webkit-box;
}