Skip to content

Commit b9a066c

Browse files
committed
favourite meal part 2
1 parent 64e7cb6 commit b9a066c

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h3>Order anything</h3>
126126
</li>
127127
<li>
128128
<figure class="meal-photo">
129-
<img src="resources/img/Hydrabadi%20biriyani.jpg" alt="Hydrabadi biriyani" >
129+
<img src="resources/img/Grilled%20Lobster.jpg" alt="Grilled Lobster" >
130130
</figure>
131131
</li>
132132
<li>

resources/css/style.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,22 @@ header {
226226
}
227227

228228

229+
/* ------------------------------------------- */
230+
/* FEATURES */
231+
/* ------------------------------------------- */
232+
233+
.section-features .long-copy {
234+
margin-bottom: 30px;
235+
}
236+
237+
229238
/* ------------------------------------------- */
230239
/* MEALS */
231240
/* ------------------------------------------- */
232241

242+
.section-meals {
243+
padding: 0;
244+
}
233245

234246
.meals-showcase {
235247
list-style: none;
@@ -246,13 +258,34 @@ header {
246258
.meal-photo {
247259
width: 100%;
248260
margin: 0;
261+
overflow: hidden;
262+
background-color: #000;
249263
}
250264

251265
.meal-photo img {
266+
opacity: 0.7;
252267
width: 100%;
268+
height: auto;
269+
transform: scale(1.15);
270+
transition: transform 0.5s, opacity 0.5s;
271+
}
272+
273+
.meal-photo img:hover {
274+
opacity: 1;
275+
transform: scale(1.03);
253276
}
254277

255278

256279

257280

258281

282+
283+
284+
285+
286+
287+
288+
289+
290+
291+

resources/img/Grilled Lobster.jpg

290 KB
Loading

0 commit comments

Comments
 (0)