-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
126 lines (114 loc) · 2.97 KB
/
index.html
File metadata and controls
126 lines (114 loc) · 2.97 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>
<head>
<link href="https://fonts.googleapis.com/css?family=Londrina+Shadow" rel="stylesheet">
<style>
body {
background: #2F4F4F;
max-width: 700px;
text-shadow: 1px 1px 1px #F0FFFF;
}
div {
height: 300px;
background-size: cover;
position: relative;
margin: 40px 0 0 0;
border-radius: 14px;
align-self: center;
}
p {
color: #F0F8FF;
background-size: black;
background: linear-gradient(bottom,rgba(0,0,0,1),rgba(0,0,0,0.4));
background: -moz-linear-gradient(bottom,rgba(0,0,0,1),rgba(0,0,0,0.4));
background: -webkit-linear-gradient(bottom,rgba(0,0,0,1),rgba(0,0,0,0.4));
padding: 10px;
font-size: 22px;
position: absolute;
line-height: 18px;
height: 35px;
text-align: justify;
bottom: 0;
margin: 0;
}
.des p{
height: 150px;
}
.des small{
opacity: 1;
}
.one {
background: url("http://i.imgur.com/31kEiN8.jpg?1");
background-position: center;
background-size: cover;
}
.two {
background: url("http://i.imgur.com/L62h6s2.jpg");
background-position: center;
background-size: cover;
}
.three {
background: url("http://dash.ga.co/assets/dessertcourse.jpg");
background-position: center;
background-size: cover;
}
.money {
float: right;
font-size: 18px;
}
h1 {
font-size: 85px;
text-align: center;
margin: 60px 0 0 0;
color: #8FBC8F;
}
small {
font-size: 15px;
opacity: 0;
}
h2 {
font-size: 24px;
text-align: center;
margin: 10px 0 120px 0;
color: #bbbbbb;
}
@media (max-width: 500px){
h1{
font-size: 50px;
margin-top: 20px;
line-height: 40px;
}
h2 {
font-size: 20px;
margin: 20px 0 30px 0;
}
div {
margin: 20px 12px 0 12px;
}
p{
font-size: 20px;
line-height: 26px;
}
small{
font-size: 14px;
}
}
</style>
</head>
<body>
<h1 style="font-family: 'Londrina Shadow',cursive">LoVe BaKeRs</h1>
<h2>A New Delhi City Bakery</h2>
<div class="one des" style="font-family: helvetica, sans-serif">
<p>Honey Mollted Vanila Bread<span class="money">$26</span></br><small>Pistashio sierra leone creamy bologi kale chard beet delisious black-eyed pea sorrel amaranth garlic tigernut spring icey summer purslane asparagus lentil.</small> </p>
</div>
<div class="two des" style="font-family: helvetica, sans-serif">
<p>Fruitcake Marzipan Pudding Dragee<span class="money">$22</span></br><small> Tri-tip capicola kielbasa salami brisket honey strip steak drumstick. Meatloaf chuck boudin ribeye pork jowl. Andouille bacon jowl meatloaf pork loin .</small></p>
</div>
<div class="three des" style="font-family: helvetica, sans-serif">
<p>Lava Dark Browny Stuff<span class="money">$8</span> </br><small>Lollipop tart cotton candy prosciutto bresaola jelly-o carrot cake apple pie cupcake. Jelly-o bear claw ice cream candy canes.</small></p>
</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js">
$('div').on('click', function() {
$(this).toggleclass('des');
});
</script>
</body>