File tree Expand file tree Collapse file tree 2 files changed +30
-4
lines changed Expand file tree Collapse file tree 2 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 9
9
</ head >
10
10
< body >
11
11
< div class ="title "> Information!</ div >
12
-
12
+ < div class ="plant-container ">
13
+ < div class ="plant ">
13
14
< img src ="./images/barberry.png " alt ="barberry ">
14
15
< div class ="text "> This is a type of plant. We love this one.</ div >
15
-
16
+ </ div >
17
+ < div class ="plant ">
16
18
< img src ="./images/chilli.png " alt ="chili ">
17
19
< div class ="text "> This is another type of plant. Isn't it nice</ div >
18
-
20
+ </ div >
21
+ < div class ="plant ">
19
22
< img src ="./images/pepper.png " alt ="pepper ">
20
23
< div class ="text "> We have so many plants. Yay plants.</ div >
21
-
24
+ </ div >
25
+ < div class ="plant ">
22
26
< img src ="./images/saffron.png " alt ="saffron ">
23
27
< div class ="text "> I'm running out of things to say about plants.</ div >
28
+ </ div >
29
+ </ div >
24
30
25
31
<!-- disregard this section, it's here to give attribution to the creator of these icons -->
26
32
< div class ="footer ">
Original file line number Diff line number Diff line change 1
1
body {
2
2
font-family : 'Courier New' , Courier, monospace;
3
+ text-align : center;
3
4
}
4
5
5
6
img {
10
11
.title {
11
12
font-size : 36px ;
12
13
font-weight : 900 ;
14
+ margin-bottom : 32px ;
15
+ color : hsl (300 , 25% , 50% );
13
16
}
14
17
18
+ .plant-container {
19
+ display : flex;
20
+ flex-wrap : wrap;
21
+ justify-content : center;
22
+ gap : 52px ;
23
+
24
+ }
25
+
26
+ /*could try giving it a border and make the borders equal sizes
27
+ so the boxes all have the same dimensions*/
28
+ .plant {
29
+ max-width : 200px ;
30
+ border : dashed hsl (300 , 25% , 50% );
31
+ }
32
+
33
+
34
+
15
35
/* do not edit this footer */
16
36
.footer {
17
37
position : fixed;
You can’t perform that action at this time.
0 commit comments