File tree Expand file tree Collapse file tree 3 files changed +39
-8
lines changed
starter/08-Omnifood-Responsive Expand file tree Collapse file tree 3 files changed +39
-8
lines changed Original file line number Diff line number Diff line change 172
172
font-size : 3rem ;
173
173
}
174
174
}
175
+
176
+ /**************************/
177
+ /* Below 704px (Smaller Tablets) */
178
+ /**************************/
179
+ @media (max-width : 44em ) {
180
+ .grid--3-cols ,
181
+ .grid--4-cols {
182
+ grid-template-columns : repeat (2 , 1fr );
183
+ }
184
+ .diets {
185
+ grid-column : 1 / -1 ;
186
+ justify-self : center;
187
+ }
188
+ .heading-primary {
189
+ margin-bottom : 4.8rem ;
190
+ }
191
+ .pricing-plan {
192
+ width : 100% ;
193
+ }
194
+ .grid--footer {
195
+ grid-template-columns : repeat (6 , 1fr );
196
+ }
197
+ .logo-col ,
198
+ .address-col {
199
+ grid-column : span 3 ;
200
+ }
201
+ .nav-col {
202
+ grid-row : 1 ;
203
+ grid-column : span 2 ;
204
+ margin-bottom : 3.2rem ;
205
+ }
206
+ }
Original file line number Diff line number Diff line change 382
382
padding : 9.6rem 0 ;
383
383
}
384
384
385
- .princing -plan {
385
+ .pricing -plan {
386
386
border-radius : 11px ;
387
-
388
387
width : 75% ;
389
388
}
390
389
391
- .princing -plan--starter {
390
+ .pricing -plan--starter {
392
391
justify-self : end;
393
392
border : 2px solid # fdf2e9 ;
394
393
padding : 4.6rem ;
395
394
}
396
395
397
- .princing -plan--complete {
396
+ .pricing -plan--complete {
398
397
background-color : # fdf2e9 ;
399
398
padding : 4.8rem ;
400
399
position : relative;
401
400
overflow : hidden;
402
401
}
403
402
404
- .princing -plan--complete ::after {
403
+ .pricing -plan--complete ::after {
405
404
content : "Best value" ;
406
405
position : absolute;
407
406
top : 6% ;
Original file line number Diff line number Diff line change 27
27
< title > Omnifood</ title >
28
28
</ head >
29
29
< body >
30
- < header class ="header nav-open ">
30
+ < header class ="header ">
31
31
< a href ="# ">
32
32
< img class ="logo " alt ="Omnifood logo " src ="img/omnifood-logo.png " />
33
33
</ a >
@@ -454,7 +454,7 @@ <h2 class="heading-secondary">
454
454
</ div >
455
455
456
456
< div class ="container grid grid--2-cols margin-bottom-md ">
457
- < div class ="princing -plan princing -plan--starter ">
457
+ < div class ="pricing -plan pricing -plan--starter ">
458
458
< header class ="plan-header ">
459
459
< p class ="plan-name "> Starter</ p >
460
460
< p class ="plan-price "> < span > $</ span > 399</ p >
@@ -482,7 +482,7 @@ <h2 class="heading-secondary">
482
482
</ div >
483
483
</ div >
484
484
485
- < div class ="princing -plan princing -plan--complete ">
485
+ < div class ="pricing -plan pricing -plan--complete ">
486
486
< header class ="plan-header ">
487
487
< p class ="plan-name "> Complete</ p >
488
488
< p class ="plan-price "> < span > $</ span > 649</ p >
You can’t perform that action at this time.
0 commit comments