diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-25 16:46:03 +0100 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2023-01-25 16:46:12 +0100 |
commit | 8bd4ac668a1d7b3ed3bc99f41a28337a6cd31344 (patch) | |
tree | 15afeca0f8251fc45b798dd126f040b84dabc66f /index.html | |
parent | 49d09432980747f7713f1b5131b0573d15916920 (diff) |
Use flexbox for boxes
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 27 |
1 files changed, 21 insertions, 6 deletions
@@ -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> |