-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcard.html
More file actions
182 lines (176 loc) · 7.13 KB
/
card.html
File metadata and controls
182 lines (176 loc) · 7.13 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
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pizza</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root{
--back:rgb(67, 235, 117);
--primary-color:rgb(55, 55, 55);
--text-color:rgb(0, 183, 0);
}
header{
/* width: 9999px; */
position: sticky;
top: 0;
border: 0px solid black;
}
nav{
border: 0px solid;
background-color:var(--primary-color);
padding: 10px ;
}
nav ul li{
list-style: none;
display: inline;
color: var(--text-color);
padding: 20px;
font-weight:lighter;
}
li a{
text-decoration: none;
color: var(--text-color);
cursor: pointer;
}
li a:hover{
border: 2px solid white;
background-color: white;
color: black;
border-radius: 17px;
padding: 7px;
}
body{
background-color: rgb(62, 62, 62);
/* padding: 114px 300px; */
padding: 0;
margin: 0;
display: flex ;
flex-wrap: wrap;
}
.card{
border: 1px solid rgb(255, 255, 255) ;
height: 400px;
width: 300px;
border-radius: 10px;
background-color: rgb(255, 228, 228);
box-shadow: 2px 3px 3px rgb(94, 94, 94) ;
margin: 8px;
}
.maf{
padding:4.2px;
border: transparent;
border-radius: 99px;
}
.maf img{
border-radius: 10px;
box-shadow: 0px 4px 3px rgb(94, 94, 94) ;
}
.more{
background-color:rgb(216, 236, 253) ;
border: 1px solid rgb(189, 222, 253);
margin: 108px;
border-radius: 22px;
position: relative;
color: rgb(14, 150, 254);
bottom: 160px;
}
.moi{
padding: 6px 2px;
position: relative;
left : 8px;
font-size: small;
font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
cursor: pointer;
}
.ing{
color: gray;
font-size: 14px;
padding: 22px;
position: relative;
bottom: 40px;
}
.food{
top: 3px;
border: 1px solid rgb(0, 0, 0);
color: rgb(0, 0, 0);
border-radius: 14px;
position: relative;
margin: 19px;
padding: 3px 7px;
font-size:13px;
font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.pizz{
top: 3px;
position: relative;
right: 9px;
border: 1px solid rgb(0, 0, 0);
color: rgb(0, 0, 0);
border-radius: 14px;
position: relative;
padding: 3px 7px;
font-size:13px;
font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.pizza{
position: relative;
bottom: 10px;
left: 22px;
font-size: small;
font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.more:hover{
background-color:rgb(169, 211, 250) ;
color: rgb(13, 125, 230) ;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="shop.html">Menu</a></li>
<li><a href="accessories.html">Services</a></li>
<li><a href="accessories.html">Blog</a></li>
<li><a href="accessories.html">About</a></li>
<li><a href="accessories.html">Contact</a></li>
</ul>
</nav>
</header>
<div class="card">
<div class="maf"><img src="pizza.jpg" alt="pizza" height="195px" ></div>
<span class="food">Food</span>
<span class="pizz">Pizza</span>
<div class="pizza"><h2>Margherita Pizza</h1></div>
<div class="ing">Set a pizza stone on a rack in the top third of the oven. Preheat the oven to 500° for at least 45 minutes. Meanwhile, remove the dough ball from the refrigerator and let stand for 20 minutes.</div>
<div class="more"><div class="moi">Read more</div></div>
</div>
<div class="card">
<div class="maf"><img src="https://theclubcafe.in/cdn/shop/products/tpc3_640x.png?v=1597865259" alt="pizza" height="215px"></div>
<span class="food">Food</span>
<span class="pizz">Pizza</span>
<div class="pizza"><h2>Sweet corn Pizza</h1></div>
<div class="ing" style="font-size: small;">Set a pizza stone on a rack in the top third of the oven. Preheat the oven to 500° for at least 45 minutes. Meanwhile, remove the dough ball from the refrigerator and let stand for 20 minutes.</div>
<div class="more" style="position: relative; bottom: 175px;" ><div class="moi" >Read more</div></div>
</div>
<div class="card">
<div class="maf"><img src="https://d3gy1em549lxx2.cloudfront.net/f41e714d-1240-4e5d-aea1-3de7738f2c27.JPG" alt="pizza" height="195px" ></div>
<span class="food">Food</span>
<span class="pizz">Pizza</span>
<div class="pizza"><h2>Veg Delight Pizza</h1></div>
<div class="ing">Set a pizza stone on a rack in the top third of the oven. Preheat the oven to 500° for at least 45 minutes. Meanwhile, remove the dough ball from the refrigerator and let stand for 20 minutes.</div>
<div class="more"><div class="moi">Read more</div></div>
</div>
<div class="card">
<div class="maf"><img src="https://keyafoods.com/cdn/shop/articles/Classic_Chicken_Burger_36.png?v=1704438823&width=1100" alt="pizza" height="195px" ></div>
<span class="food">Food</span>
<span class="pizz">Pizza</span>
<div class="pizza"><h2>farm house Pizza</h1></div>
<div class="ing">Set a pizza stone on a rack in the top third of the oven. Preheat the oven to 500° for at least 45 minutes. Meanwhile, remove the dough ball from the refrigerator and let stand for 20 minutes.</div>
<div class="more"><div class="moi">Read more</div></div>
</div>
</body>
</html>