-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
126 lines (108 loc) · 4.67 KB
/
contact.html
File metadata and controls
126 lines (108 loc) · 4.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="keywords" content="home shopping,good online shopping websites,favorite online shopping sites,online shopping websites,signin in the online website">
<link rel="stylesheet" href="bootstrap.css">
<title>Contact Us</title>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<style>
body, html {
height: 100%;
margin: 0;
}
.bg {
/* The image used */
background-image: url("https://www.ke.com.pk/assets/uploads/2016/06/Contact-us.jpg");
filter: blur(8px);
-webkit-filter: blur(5px);
/* Full height */
height: 100%;
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
/* Full height */
height: 100%;
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.bg-text {
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
color: white;
font-weight: bold;
border: 3px solid #f1f1f1;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 90%;
height:auto;
padding: 20px;
text-align: center;
}
@media screen and (max-width: 500px) {
.log {
background-color: rgb(0, 0, 0); /* Fallback color */
background-color: rgba(0, 0, 0, 0.4); /* Black w/opacity/see-through */
color: white;
font-weight: bold;
border: 3px solid #f1f1f1;
position: absolute;
top: 65%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 2;
width: 90%;
height:auto;
padding: 20px;
text-align: center;
}
}
</style>
</head>
<body>
<div class="w3-bar w3-black">
<a href="Assignment2.html" class="w3-bar-item w3-button w3-mobile">Home</a>
<a href="contact.html" class="w3-bar-item w3-button w3-mobile">Conatct Us</a>
<a href="about.html" class="w3-bar-item w3-button w3-mobile">About Us</a>
<a href="login.html" class="w3-bar-item w3-button w3-mobile">Log In</a>
<a href="registration.html" class="w3-bar-item w3-button w3-mobile">Registration</a>
</div>
<div class="bg"></div>
<div class="bg-text log">
<h2 style="font-size:5vw;">Contact Us</h2>
<h1 style="font-size:2vw;">Questions, comments or special requests? Get in touch today, we’re happy to help.</h1>
<p style="font-size:2vw;">Avenue 1, Khayaban-e-Jinnah، Road، Johar Town, Lahore <br>
Sumair&Asad@ucp.edu.pk<br>
03xx-xxxxxxx</p>
</div>
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3403.8097457904114!2d74.26604291462898!3d31.446904257913538!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3919017432b1835b%3A0xe396992a5b05891c!2sUniversity+of+Central+Punjab!5e0!3m2!1sen!2s!4v1556256596368!5m2!1sen!2s" width="100%" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
<div class="container">
<form action="/action_page.php">
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your name.." required
pattern="[A-Z][a-z]+">
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" placeholder="Your last name.." required
pattern="[A-Z][a-z]+">
<label for="country">Country</label>
<select id="country" name="country">
<option value="pakistan">Pakistan</option>
<option value="australia">Australia</option>
<option value="canada">Canada</option>
<option value="usa">USA</option>
</select>
<label for="subject">Subject</label>
<textarea id="subject" name="subject" placeholder="Write something.." style="height:200px"></textarea>
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>