File tree Expand file tree Collapse file tree 2 files changed +39
-2
lines changed
starter/07-Omnifood-Desktop Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,29 @@ body {
86
86
box-shadow : inset 0 0 0 .3rem # fff ;
87
87
}
88
88
89
+ .container {
90
+ margin : 0 auto;
91
+ max-width : 120rem ;
92
+ padding : 0 3.2rem ;
93
+ }
94
+
95
+ .grid {
96
+ display : grid;
97
+ gap : 9.6rem ;
98
+ }
99
+
100
+ .grid--2-cols {
101
+ grid-template-columns : repeat (2 , 1fr );
102
+ }
103
+
104
+ .grid--3-cols {
105
+ grid-template-columns : repeat (3 , 1fr );
106
+ }
107
+
108
+ .grid--4-cols {
109
+ grid-template-columns : repeat (4 , 1fr );
110
+ }
111
+
89
112
.heading-primary {
90
113
color : # 333 ;
91
114
font-size : 5.2rem ;
@@ -185,8 +208,6 @@ body {
185
208
font-weight : 700 ;
186
209
}
187
210
188
-
189
-
190
211
.hero {
191
212
align-items : center;
192
213
display : grid;
@@ -211,3 +232,10 @@ body {
211
232
background-color : # fdf2e9 ;
212
233
padding : 4.8rem 0 9.6rem 0 ;
213
234
}
235
+
236
+
237
+ /*** HOW ***/
238
+
239
+ .section-how {
240
+ padding : 9.6rem 0 ;
241
+ }
Original file line number Diff line number Diff line change @@ -63,6 +63,15 @@ <h1 class="heading-primary">
63
63
</ div >
64
64
</ div >
65
65
</ section >
66
+
67
+ < section class ="section-how ">
68
+ < div class ="container grid grid--2-cols ">
69
+ < div > Test 1</ div >
70
+ < div > Test 2</ div >
71
+ < div > Test 3</ div >
72
+ < div > Test 4</ div >
73
+ </ div >
74
+ </ section >
66
75
</ main >
67
76
</ body >
68
77
</ html >
You can’t perform that action at this time.
0 commit comments