Completed exercise 04
This commit is contained in:
parent
f424d2280d
commit
34a0d21b48
|
@ -10,17 +10,24 @@
|
|||
<body>
|
||||
<div class="title">Information!</div>
|
||||
|
||||
<div class="flex">
|
||||
<div class="tile">
|
||||
<img src="./images/barberry.png" alt="barberry">
|
||||
<div class="text">This is a type of plant. We love this one.</div>
|
||||
|
||||
</div>
|
||||
<div class="tile">
|
||||
<img src="./images/chilli.png" alt="chili">
|
||||
<div class="text">This is another type of plant. Isn't it nice?</div>
|
||||
|
||||
</div>
|
||||
<div class="tile">
|
||||
<img src="./images/pepper.png" alt="pepper">
|
||||
<div class="text">We have so many plants. Yay plants.</div>
|
||||
|
||||
</div>
|
||||
<div class="tile">
|
||||
<img src="./images/saffron.png" alt="saffron">
|
||||
<div class="text">I'm running out of things to say about plants.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- disregard this section, it's here to give attribution to the creator of these icons -->
|
||||
<div class="footer">
|
||||
|
|
|
@ -2,6 +2,19 @@ body {
|
|||
font-family: 'Courier New', Courier, monospace;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 52px;
|
||||
margin: 32px 0 0 0;
|
||||
}
|
||||
|
||||
.tile {
|
||||
width: 200px;
|
||||
flex: 0 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
|
@ -10,6 +23,7 @@ img {
|
|||
.title {
|
||||
font-size: 36px;
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* do not edit this footer */
|
||||
|
|
Loading…
Reference in New Issue