I am wondering if and how I can achieve the following look in css/html with the current html/css i already have :
I want to get the first(red) one : https://i.stack.imgur.com/tcnVx.jpg
-I have the second(blue)/third(green) working -I would like the img(purple F) to span the whole width of the section, also have a certain height (80% of section height). have the image fill this space like in the image
-I want the img to be clickable (to open a lightbox)
-The figcaption has text, should be 20%(this adds up to 100% total) height of section and centered (probably with line-height this i can manage haha..)
My code so far :
<section>
<article class="graphic">
<figure>
<img src="img/Graphic/final.png" alt="Image for graphic work">
<figcaption>Final logo</figcaption>
</figure>
</article>
<article class="web">
<figure>
<img src="img/Web/obbycmsmockup.png" alt="Image for web work">
<figcaption>CMS webdesign for OBBYCMS</figcaption>
</figure>
</article>
<article class="misc">
<figure>
<img src="img/Misc/ww4.jpg" alt="Image for other work">
<figcaption>Graphic work for WhiteWizard</figcaption>
</figure>
</article>
I think this is what you want to achieve. Styling the figures, images and the figcaptions.
If you need something else, comment. If it helps, +1.