-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (89 loc) · 1.69 KB
/
style.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
94
95
96
97
98
99
100
101
102
103
/* Following Css statements are to enhance the user-interface of the JavaScript Form Validation site*/
html, body {
margin: 0;
padding: 0;
font-family: 'Quicksand', sans-serif;
background: linear-gradient(to bottom, white, rgb(226, 255, 211));
}
body {
box-sizing: border-box;
width: 100%;
height: 100vh;
}
#form {
width: 500px;
margin: 20px auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
margin-top: 40px;
/* background-color: white; */
}
h2 {
text-align: center;
}
.input-group {
margin-bottom: 10px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"]
{
width: 97%;
padding: 5px;
border: 1px solid #ddd;
border-radius: 5px;
}
.error {
color: red;
margin-top: 5px;
display: none;
}
input[type="submit"] {
width: 100%;
padding: 10px;
background-color: rgb(122, 253, 122);
color: #fff;
font-weight: bolder;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
}
.footer {
background-color: black;
color: white;
text-align: center;
margin-bottom: -55px;
padding: 10px;
position: absolute;
bottom: 0;
width: 100%;
}
.footer a {
color: rgb(122, 253, 122);
text-decoration: none;
}
@media (max-width: 767px) {
#form {
width: 85%;
margin-left: 15px;
margin-right: 15px;
padding-left: 25px;
padding-right: 25px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"]
{
margin-left: 5px;
margin-right: 5px;
}
}