Skip to content

Commit 8fd6157

Browse files
committed
feature part
1 parent c379f90 commit 8fd6157

File tree

2 files changed

+68
-5
lines changed

2 files changed

+68
-5
lines changed

starter/07-Omnifood-Desktop/css/style.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,3 +421,31 @@
421421
text-align: center;
422422
margin-top: 4.8rem;
423423
}
424+
425+
.plan-details {
426+
font-size: 1.6rem;
427+
line-height: 1.6;
428+
text-align: center;
429+
}
430+
431+
.feature-icon {
432+
color: #e67e22;
433+
height: 3.2rem;
434+
width: 3.2rem;
435+
background-color: #fdf2e9;
436+
margin-bottom: 3.2rem;
437+
padding: 1.6rem;
438+
border-radius: 50%;
439+
}
440+
441+
.feature-title {
442+
font-size: 2.4rem;
443+
color: #333;
444+
font-weight: 700;
445+
margin-bottom: 1.6rem;
446+
}
447+
448+
.feature-text {
449+
font-size: 1.8rem;
450+
line-height: 1.8;
451+
}

starter/07-Omnifood-Desktop/index.html

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ <h2 class="heading-secondary">
431431
</h2>
432432
</div>
433433

434-
<div class="container grid grid--2-cols">
434+
<div class="container grid grid--2-cols margin-bottom-md">
435435
<div class="pricing-plan pricing-plan--starter">
436436
<header class="plan-header">
437437
<p class="plan-name">Starter</p>
@@ -489,11 +489,46 @@ <h2 class="heading-secondary">
489489
</div>
490490
</div>
491491

492+
<div class="container grid">
493+
<aside class="plan-details">
494+
Prices include all applicable taxes. You can cancel at any time.
495+
Both plans include the following:
496+
</aside>
497+
</div>
498+
492499
<div class="container grid grid--4-cols">
493-
<div class="feature">1</div>
494-
<div class="feature">2</div>
495-
<div class="feature">3</div>
496-
<div class="feature">4</div>
500+
<div class="feature">
501+
<ion-icon class="feature-icon" name="infinite-outline"></ion-icon>
502+
<p class="feature-title">Never cook again!</p>
503+
<p class="feature-text">
504+
subscriptions cover 365 days per year, even including major
505+
holidays.
506+
</p>
507+
</div>
508+
<div class="feature">
509+
<ion-icon class="feature-icon" name="nutrition-outline"></ion-icon>
510+
<p class="feature-title">Local and organic</p>
511+
<p class="feature-text">
512+
Our cooks only use local, fresh, and organic products to prepare
513+
your meals.
514+
</p>
515+
</div>
516+
<div class="feature">
517+
<ion-icon class="feature-icon" name="leaf-outline"></ion-icon>
518+
<p class="feature-title">No waste</p>
519+
<p class="feature-text">
520+
All our partners only use reusable containers to package all your
521+
meals.
522+
</p>
523+
</div>
524+
<div class="feature">
525+
<ion-icon class="feature-icon" name="pause-outline"></ion-icon>
526+
<p class="feature-title">Pause anytime</p>
527+
<p class="feature-text">
528+
Going on vacation? Just pause your subscription, and we refund
529+
unused days.
530+
</p>
531+
</div>
497532
</div>
498533
</section>
499534
</main>

0 commit comments

Comments
 (0)