Skip to content

Commit bf3bb79

Browse files
committed
feat: building the features part
1 parent 6f9e48b commit bf3bb79

File tree

2 files changed

+71
-5
lines changed

2 files changed

+71
-5
lines changed

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,3 +439,31 @@
439439
text-align: center;
440440
margin-top: 4.8rem;
441441
}
442+
443+
.plan-details {
444+
font-size: 1.6rem;
445+
line-height: 1.6;
446+
text-align: center;
447+
}
448+
449+
.feature-icon {
450+
color: #e67e22;
451+
height: 3.2rem;
452+
width: 3.2rem;
453+
margin-bottom: 3.2rem;
454+
background-color: #fdf2e9;
455+
padding: 1.6rem;
456+
border-radius: 50%;
457+
}
458+
459+
.feature-title {
460+
font-size: 2.4rem;
461+
color: #333;
462+
font-weight: 700;
463+
margin-bottom: 1.6rem;
464+
}
465+
466+
.feature-text {
467+
font-size: 1.8rem;
468+
line-height: 1.8rem;
469+
}

starter/07-Omnifood-Desktop/index.html

Lines changed: 43 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ <h2 class="heading-secondary">
471471
</h2>
472472
</div>
473473

474-
<div class="container grid grid--2-cols">
474+
<div class="container grid grid--2-cols margin-bottom-md">
475475
<div class="pricing-plan plicing-plan--starter">
476476
<header class="plan-header">
477477
<p class="plan-name">Starter</p>
@@ -534,11 +534,49 @@ <h2 class="heading-secondary">
534534
</div>
535535
</div>
536536

537+
<div class="container grid">
538+
<aside class="plan-details">
539+
Prices include all applicable taxes. You can cancel at any time.
540+
Both plans include the following:
541+
</aside>
542+
</div>
543+
537544
<div class="container grid grid--4-cols">
538-
<div class="feature">Feature 1</div>
539-
<div class="feature">Feature 2</div>
540-
<div class="feature">Feature 3</div>
541-
<div class="feature">Feature 4</div>
545+
<div class="feature">
546+
<ion-icon class="feature-icon" name="infinite-outline"></ion-icon>
547+
<p class="feature-title">Never cook again!</p>
548+
<p class="feature-text">
549+
Our subscriptions cover 365 days per year, even including major
550+
holidays.
551+
</p>
552+
</div>
553+
554+
<div class="feature">
555+
<ion-icon class="feature-icon" name="nutrition-outline"></ion-icon>
556+
<p class="feature-title">Local and organic</p>
557+
<p class="feature-text">
558+
Our cooks only use local, fresh, and organic products to prepare
559+
your meals.
560+
</p>
561+
</div>
562+
563+
<div class="feature">
564+
<ion-icon class="feature-icon" name="leaf-outline"></ion-icon>
565+
<p class="feature-title">No waste</p>
566+
<p class="feature-text">
567+
All our partners only use reusable containers to package all your
568+
meals.
569+
</p>
570+
</div>
571+
572+
<div class="feature">
573+
<ion-icon class="feature-icon" name="pause-outline"></ion-icon>
574+
<p class="feature-title">Pause anytime</p>
575+
<p class="feature-text">
576+
Going on vacation? Just pause your subscription, and we refund
577+
unused days.
578+
</p>
579+
</div>
542580
</div>
543581
</section>
544582
</main>

0 commit comments

Comments
 (0)