Repository navigation
Expand file tree
/
Copy pathregform6.css
More file actions
131 lines (115 loc) · 2.63 KB
/
Copy pathregform6.css
File metadata and controls
131 lines (115 loc) · 2.63 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
margin: 0;
padding: 20px;
background-image: url("https://media.istockphoto.com/id/1259867601/vector/modern-banner-important-we-want-your-feedback-banner-for-business-marketing-and-advertising.jpg?s=612x612&w=is&k=20&c=7kaBJuwZMjmYh6RMVgcnRowAO7yfy_ZAOR6-K_glHbU=");
background-size: 100% auto;
}
h2 {
text-align: center;
color: white;
}
form {
max-width: 400px;
margin: 0 auto;
margin-top: 20vh; /* Adjust the value to vertically position the form */
padding: 20px;
background-color: #755c5c;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
#username,
#email,
#password {
width: 90%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: aqua;
color: black;
}
#username:focus,
#email:focus,
#password:focus {
outline: none;
border-color: #4CAF50;
}
.submit-btn {
display: block;
width: 20%;
padding: 10px 20px;
background-color: #6137a4;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.submit-btn:hover {
background-color: #45a049;
}
.form-label {
display: block;
font-weight: bold;
margin-bottom: 5px;
color: beige;
}
.form-input {
width: 90%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: aqua;
color: black;
}
/* Checkbox style */
.form-checkbox {
display: inline-block;
position: relative;
padding-left: 25px;
margin-bottom: 10px;
cursor: pointer;
font-size: 16px;
}
/* Checkbox input */
.form-checkbox input {
position: absolute;
opacity: 0;
cursor: pointer;
}
/* Checkbox checkmark */
.form-checkbox .checkmark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background-color: #eee;
border-radius: 4px;
}
/* Checkbox checkmark when checked */
.form-checkbox input:checked ~ .checkmark {
background-color: #4CAF50;
}
/* Checkbox checkmark icon */
.form-checkbox .checkmark:after {
content: "";
position: absolute;
display: none;
}
/* Checkbox checkmark icon when checked */
.form-checkbox input:checked ~ .checkmark:after {
display: block;
}
/* Checkbox checkmark icon style */
.form-checkbox .checkmark:after {
left: 7px;
top: 3px;
width: 5px;
height: 10px;
border: solid #fff;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}