File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff 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+
You can’t perform that action at this time.
0 commit comments