summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-01-25 16:46:03 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-01-25 16:46:12 +0100
commit8bd4ac668a1d7b3ed3bc99f41a28337a6cd31344 (patch)
tree15afeca0f8251fc45b798dd126f040b84dabc66f /index.html
parent49d09432980747f7713f1b5131b0573d15916920 (diff)
Use flexbox for boxes
Diffstat (limited to 'index.html')
-rw-r--r--index.html27
1 files changed, 21 insertions, 6 deletions
diff --git a/index.html b/index.html
index cbcd508..5308d31 100644
--- a/index.html
+++ b/index.html
@@ -36,16 +36,31 @@
<article class="forecast">
<h1>Weather forecast for Seattle</h1>
<article class="day-forecast">
- <h2>03 March 2018</h2>
- <p>Rain.</p>
+ <div class="day-forecast-text">
+ <h2>03 March 2018</h2>
+ <p>Heavy rain.</p>
+ </div>
+ <div class="day-forecast-image">
+ <img src="img/lluvia.png"/>
+ </div>
</article>
<article class="day-forecast">
- <h2>04 March 2018</h2>
- <p>Periods of rain.</p>
+ <div class="day-forecast-text">
+ <h2>04 March 2018</h2>
+ <p>Heavy rain.</p>
+ </div>
+ <div class="day-forecast-image">
+ <img src="img/lluvia.png"/>
+ </div>
</article>
<article class="day-forecast">
- <h2>05 March 2018</h2>
- <p>Heavy rain.</p>
+ <div class="day-forecast-text">
+ <h2>05 March 2018</h2>
+ <p>Heavy rain.</p>
+ </div>
+ <div class="day-forecast-image">
+ <img src="img/lluvia.png"/>
+ </div>
</article>
</article>