-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphotography.html
168 lines (166 loc) · 4.69 KB
/
photography.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<html>
<title>Form</title>
<style>
@import url(https://fonts.googleapis.com/css?family='assistant');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-o-font-smoothing: antialiased;
font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
body{
background:#DEF5FF;
font-family: "Assistant", Helvetica, Arial, sans-serif;
font-weight: 100;
font-size: 20px;
line-height: 30px;
color: #777;
}
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"] {
font: 400 12px/16px "assistant", Helvetica, Arial, sans-serif;
}
#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"] {
width: 700px;
border: 1px solid #ccc;
background: #FFF;
margin: 5px 50px 10px;
padding: 10px;
}
#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover{
-webkit-transition: border-color 0.3s ease-in-out;
-moz-transition: border-color 0.3s ease-in-out;
transition: border-color 0.3s ease-in-out;
border: 1px solid #16a085;
}
#contact select{
width: 700px;
border: 1px solid #ccc;
background: #FFF;
margin: 5px 50px 10px;
padding: 10px;
font: 400 12px/16px "assistant", Helvetica, Arial, sans-serif;
}
#contact select :hover{
-webkit-transition: border-color 0.3s ease-in-out;
-moz-transition: border-color 0.3s ease-in-out;
transition: border-color 0.3s ease-in-out;
border: 1px solid #16a085;
}
.container {
max-width: 800px;
width: 100%;
margin: 0 auto;
position: relative;
}
fieldset {
border: medium none !important;
margin: 0 0 50px;
min-width: 100%;
padding: 0;
width: 100%;
}
#contact {
background: #F9F9F9;
margin: 150px 0;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
#contact h2 {
margin: 5px 0 15px;
display: block;
font-size: 20px;
font-family:Assistant;
font-weight: 850;
padding: 20px;
}
#contact h1 {
padding: 55px;
background-color: #16a085;
color:white;
text-align:center;
font-family:Assistant;
}
#contact input[type="submit"]{
color:white;
padding:8px 40px;
margin-left:300px;
margin-bottom:20px;
font-size: 20px;
display: inline-block;
cursor: pointer;
border:none;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
}
#contact input[type="submit"]:hover{
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0
}
</style>
<div class="container">
<form id="contact" enctype="multipart/form-data" method="post" action="photography.php">
<h1>Photography competition</h1>
<fieldset>
<h2>1.Name*</h2>
<input type="text" name="name" placeholder="Enter your answer">
</fieldset>
<fieldset>
<h2>2. Designation* (B.Tech/M.Tech student etc)</h2>
<select name="designation" placeholder="Enter your answer">
<option value="B.Tech">B.Tech</option>
<option value="B.Des">B.Des</option>
<option value="M.Tech">M.Tech</option>
<option value="M.Des">M.Des</option>
<option value="PhD">PhD</option>
<option value="B.Sc">B.Sc</option>
<option value="M.Sc">M.Sc</option>
</select>
</fieldset>
<fieldset>
<h2>3. Email ID*</h2>
<input type="email" name="email" placeholder="Enter your answer">
</fieldset>
<fieldset>
<h2>4. Mobile No*</h2>
<input type="text" name="phone" placeholder="Enter your answer">
</fieldset>
<fieldset>
<h2>5. Institute Name *</h2>
<input type="text" name="instiname" placeholder="Enter your answer">
</fieldset>
<fieldset>
<h2>6. Caption of your image *</h2>
<input type="text" name="caption" placeholder="Enter your answer">
</fieldset>
<fieldset>
<h2>7. Short description of your photograph</h2>
<input type="text" name="description" placeholder="Enter your answer">
</fieldset>
<fieldset>
<h2>8. Please provide your Facebook profile link so that we can tag you in your photograph's post on our page. This may be beneficial for you in the contest.</h2>
<input type="url" name="fbId" placeholder="Enter your answer">
</fieldset>
<fieldset>
<h2>9. Upload photograph(Max size:40MB) (JPEG/PNG)*:</h2>
<input type="file" name="fileToUpload" accept="image/*" style="margin-left:30px">
</fieldset>
<input type="submit" name="submit" value="Submit" style="background:#16a085">
</form>
</div>
<h3>Note:It may take few minute's to upload large file.Please wait for 1-2 minute after clicking on submit.</h3>
</body>
</html>