-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoffeeshop.html
160 lines (130 loc) · 4.36 KB
/
coffeeshop.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* {
box-sizing: border-box;
}
body {
font-family: Arial;
padding: 10px;
background: #f1f1f1;
}
.header {
padding: 30px;
text-align: center;
background: white;
}
.header h1 {
font-size: 50px;
}
.topnav {
overflow: hidden;
background-color: #333;
}
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.leftcolumn {
float: left;
width: 33.3%;
}
.centercolumn {
float: left;
width: 33.3%;
padding-left: 20px;
}
.rightcolumn {
float: left;
width: 33.3%;
background-color: #f1f1f1;
padding-left: 20px;
}
.fakeimg,
img {
width: 100%;
padding: 20px;
}
.card {
background-color: white;
padding: 20px;
margin-top: 20px;
}
.row:after {
content: "";
display: table;
clear: both;
}
.footer {
padding: 20px;
text-align: center;
background: #ddd;
margin-top: 20px;
}
@media screen and (max-width: 800px) {
.leftcolumn,
.rightcolumn,
.centercolumn {
width: 100%;
padding: 0;
}
}
@media screen and (max-width: 600px) {
.topnav a {
float: none;
width: 100%;
}
}
</style>
</head>
<body>
<div class="header">
<h1>Coffee Shop</h1>
<p>Coffee Drinks available in Our Shop.</p>
</div>
<div class="topnav">
<a href="#">Home</a>
<a href="#">My Account</a>
<a href="#" style="float:right">My Cart</a>
</div>
<div class="row">
<div class="leftcolumn">
<div class="card">
<h2>Espresso</h2>
<img src="https://cdnimg.webstaurantstore.com/uploads/blog/2019/4/coffee-drinks_espresso.jpg" width=200px height=200px>
<p>The espresso, also known as a short black, is approximately 1 oz. of highly concentrated coffee. Although simple in appearance, it can be difficult to master. The espresso, also known as a short black, is approximately 1 oz. It can be
difficult to master.</p>
</div>
</div>
<div class="centercolumn">
<div class="card">
<h2>Americanos</h2>
<img src="https://cdnimg.webstaurantstore.com/uploads/blog/2019/4/coffee-drinks_americano.jpg" width=200px height=200px>
<p>Americanos are popular breakfast drinks and thought to have originated during World War II. Soldiers would add water to their coffee to extend their rations farther. The water dilutes the espresso while still maintaining a high level of
caffeine.
</p>
</div>
</div>
<div class="rightcolumn">
<div class="card">
<h2>Macchiato</h2>
<img src="https://cdnimg.webstaurantstore.com/uploads/blog/2019/4/coffee-drinks_macchiato.jpg" width=200px height=200px>
<p>The word “macchiato” means mark or stain. This is in reference to the mark that steamed milk leaves on the surface of the espresso as it is dashed into the drink. Flavoring syrups are often added to the drink according to customer preference.</p>
</div>
</div>
</div>
<div class="footer">
<h2>Have a nice day!</h2>
</div>
</body>
</html>