-
Notifications
You must be signed in to change notification settings - Fork 0
/
camps.html
135 lines (122 loc) · 3.75 KB
/
camps.html
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
132
133
134
135
<!DOCTYPEhtml>
<html>
<head> <title>BLOOD BANK</title> </head>
<!DOCTYPE html>
<html>
<br>
<link rel="stylesheet" href="common.css">
<div class="nav">
<div class="topnav">
<a class="active" href="welcome.html">Home</a>
<a href="contact.html">Contact</a>
</div>
</div>
<style>
body {
background-image:
url("images/7.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}form {
width: 30%;
margin: 60px auto;
background: #d47878;
padding: 60px 120px 80px 120px;
text-align: center;
-webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
opacity: .6;
}
label {
display: block;
position: relative;
margin: 40px 0px;
}
.label-txt {
position: absolute;
top: -1.6em;
padding: 10px;
font-family: sans-serif;
font-size: .8em;
letter-spacing: 1px;
color: rgb(120, 120, 120);
transition: ease .3s;
}
.input {
width: 100%;
padding: 10px;
background: transparent;
border: none;
outline: none;
}
.line-box {
position: relative;
width: 100%;
height: 2px;
background: #BCBCBC;
}
.line {
position: absolute;
width: 0%;
height: 2px;
top: 0px;
left: 50%;
transform: translateX(-50%);
background: #8BC34A;
transition: ease .6s;
}
.input:focus+.line-box .line {
width: 100%;
}
.label-active {
top: -3em;
}
button {
display: inline-block;
padding: 12px 24px;
background: rgb(220, 220, 220);
font-weight: bold;
color: rgb(120, 120, 120);
border: none;
outline: none;
border-radius: 3px;
cursor: pointer;
transition: ease .3s;
}
button:hover {
background: #8BC34A;
color: #ffffff;
}
h1 {
color: aquamarine;
text-align: center;
background-color: black;
height: 50px;
opacity:0.8;
width :800px;
}</style>
<body>
<center><h1>CAMP REGISTRATION FORM</h1> </center>
<form action="camps.php" method="post">
<center><b>Enter camp's name:<input type="text" name="Name" required /></b></center><br />
<div class="line-box">
<div class="line"></div>
</div>
<center><b>Enter camp id:<input type="text" name="C_Id" required /></b></center><br />
<div class="line-box">
<div class="line"></div>
</div>
<center><b>Enter employee's id:<input type="text" name="E_id" required /></b></center><br />
<div class="line-box">
<div class="line"></div>
</div>
<center><b>Enter camp's location:<input type="text" name="location" required /></b></center><br />
<div class="line-box">
<div class="line"></div>
</div>
<br>
<center><input type="submit" value="submit"></center><br />
</form>
</body>
</html>