File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
starter/07-Omnifood-Desktop/content Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,31 @@ body {
61
61
/***************************/
62
62
/* GENERAL REUSABLE COMPONENTS */
63
63
/***************************/
64
+
65
+ .container {
66
+ /* 1140px */
67
+ max-width : 120rem ;
68
+ padding : 0 3.2rem ;
69
+ margin : 0 auto;
70
+ }
71
+
72
+ .grid {
73
+ display : grid;
74
+ gap : 9.6rem ;
75
+ }
76
+
77
+ .grid--2-cols {
78
+ grid-template-columns : repeat (2 , 1fr );
79
+ }
80
+
81
+ .grid--3-cols {
82
+ grid-template-columns : repeat (3 , 1fr );
83
+ }
84
+
85
+ .grid--4-cols {
86
+ grid-template-columns : repeat (4 , 1fr );
87
+ }
88
+
64
89
.heading-primary {
65
90
font-size : 5.2rem ;
66
91
font-weight : 600 ;
@@ -232,3 +257,11 @@ body {
232
257
color : # cf711f ;
233
258
font-weight : 700 ;
234
259
}
260
+
261
+ /***************************/
262
+ /* HOW IT WORKS SECTION */
263
+ /***************************/
264
+ .section-how {
265
+ padding : 9.6rem 0 ;
266
+ background-color : orangered;
267
+ }
Original file line number Diff line number Diff line change @@ -68,6 +68,14 @@ <h1 class="heading-primary">
68
68
</ div >
69
69
</ div >
70
70
</ section >
71
+ < section class ="section-how ">
72
+ < div class ="container grid grid--2-cols ">
73
+ < div > Test 1</ div >
74
+ < div > Test 2</ div >
75
+ < div > Test 3</ div >
76
+ < div > Test 4</ div >
77
+ </ div >
78
+ </ section >
71
79
</ main >
72
80
</ body >
73
81
</ html >
You can’t perform that action at this time.
0 commit comments