File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
starter/07-Omnifood-Desktop Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,29 @@ body {
62
62
/* Genral Reusable Components */
63
63
/**************************/
64
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
+ .grid--4-cols {
85
+ grid-template-columns : repeat (4 , 1fr );
86
+ }
87
+
65
88
.heading-primary {
66
89
font-size : 5.2rem ;
67
90
font-weight : 700 ;
@@ -225,3 +248,12 @@ body {
225
248
color : # cf711f ;
226
249
font-weight : 700 ;
227
250
}
251
+
252
+ /**************************/
253
+ /* How it works Section */
254
+ /**************************/
255
+
256
+ .section-how {
257
+ padding : 9.6rem 0 ;
258
+ background-color : orangered;
259
+ }
Original file line number Diff line number Diff line change @@ -66,6 +66,15 @@ <h1 class="heading-primary">
66
66
</ div >
67
67
</ div >
68
68
</ section >
69
+
70
+ < section class ="section-how ">
71
+ < div class ="container grid grid--2-cols ">
72
+ < div > Test 1</ div >
73
+ < div > Test 2</ div >
74
+ < div > Test 3</ div >
75
+ < div > Test 4</ div >
76
+ </ div >
77
+ </ section >
69
78
</ main >
70
79
</ body >
71
80
</ html >
You can’t perform that action at this time.
0 commit comments