File tree Expand file tree Collapse file tree 2 files changed +35
-13
lines changed
starter/07-Omnifood-Desktop/content Expand file tree Collapse file tree 2 files changed +35
-13
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ body {
52
52
color : # 555 ;
53
53
}
54
54
55
- .test {
56
- background-color : red;
57
- padding : 100 px ;
58
- /* width: 1000px; */
59
- max-width : 1000 px ;
60
-
61
- max-width : 50 rem ;
62
- padding : 4 rem ;
63
- font-size : 2 rem ;
64
- color : # fff ;
65
- /* 1 rem = 16px -> 50rem = 800px */
55
+ .hero {
56
+ /* width: 1300px; */
57
+ max-width : 130 rem ;
58
+ margin : 0 auto;
59
+ display : grid ;
60
+ grid-template-columns : 1 fr 1 fr ;
61
+ background-color : blueviolet ;
62
+ }
63
+
64
+ . hero-img {
65
+ width : 100 % ;
66
66
}
Original file line number Diff line number Diff line change 9
9
< title > Omnifood</ title >
10
10
</ head >
11
11
< body >
12
- < h1 > A healthy meal delivered to your door, every single day</ h1 >
13
- < div class ="test "> TEST</ div >
12
+ < section class ="section-hero ">
13
+ < div class ="hero ">
14
+ < div class ="hero-text-box ">
15
+ < h1 class ="heading-primary ">
16
+ A healthy meal delivered to your door, every single day
17
+ </ h1 >
18
+ < p class ="hero-description ">
19
+ The smart 365-days-per-year food subscription that will make you eat
20
+ healthy again. Tailored to your personal tastes and nutritional
21
+ needs. We have delivered 250,000+ meals last year!
22
+ </ p >
23
+
24
+ < a href ="# " class ="btn "> Start eating well</ a >
25
+ < a href ="# " class ="btn "> Learn more ↓</ a >
26
+ </ div >
27
+ < div class ="hero-img-box ">
28
+ < img
29
+ src ="img/hero.png "
30
+ alt ="Woman enjoying food, meals in storage container, and food bowls on a table. "
31
+ class ="hero-img "
32
+ />
33
+ </ div >
34
+ </ div >
35
+ </ section >
14
36
</ body >
15
37
</ html >
You can’t perform that action at this time.
0 commit comments