-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.html
More file actions
116 lines (102 loc) · 2.95 KB
/
gallery.html
File metadata and controls
116 lines (102 loc) · 2.95 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Gallery</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<link rel="stylesheet" href="gallery.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<nav>
<label class="logo">We Wash Cars</label>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="price.html">Price</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="intouch.html">Contact</a></li>
</ul>
</nav>
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial;
}
.header {
text-align: center;
paddingg: 32px;
}
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
padding: 0 4px;
}
/* Create four equal columns that sit next to each other */
.column {
-ms-flex: 50%; /* IE10 */
flex: 50%;
max-width: 50%;
padding: 0 4px;
text-align: center;
}
.column img {
margin-top: 8px;
vertical-align: middle;
width: 100%;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
.column {
-ms-flex: 50%;
flex: 50%;
max-width: 50%;
background-color: green;
}
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
body{
background-color: red;
}
}
</style>
<body>
<!-- Header -->
<div class="header">
<h1>Welcome to our Gallery</h1>
</div>
<!-- Photo Grid -->
<div class="row">
<div class="column">
<img src="car1.jpg" style="width:100%">
<img src="car2.jpg" style="width:100%">
<img src="car3.jpg" style="width:100%">
<img src="car4.jpg" style="width:100%">
</div>
<div class="column">
<img src="car5.jpg" style="width:100%">
<img src="car11.jpg" style="width:100%">
<img src="car33.jpg" style="width:100%">
</div>
</div>
<div class="container">
<h2>More Info</h2>
<button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo">Mobile carwash</button>
<div id="demo" class="collapse">
We also offers mobile carwash!!!! yes can wash your car at the comfort of your home... Please contact us for more info
</div>
</div>
</body>
</html>