Currently, I am struggling with arranging three square images on a webpage. The larger image should measure 800 x 800 pixels and be positioned to the left, while the two smaller images, each measuring 400 x 400 pixels, should stack vertically to the right of the larger image.
To give you a better understanding, here is an illustration:
https://i.sstatic.net/Ocspo.jpg
The HTML code using Bootstrap 4 that I have implemented looks like this:
<div class="container">
<div class="container-fluid">
<div class="row">
<div class="col-lg-7">
<img src="modernforms/src/img/main.jpg" width=700 height=700 />
</div>
<div class="col-lg-5">
<img src="modernforms/src/img/side.jpg" width=350 height=350 />
<img src="modernforms/src/img/sidetwo.jpg" width="350" height="350" />
</div>
</div>
</div>
However, my main challenge lies in ensuring that this layout remains user-friendly when viewed on mobile devices. Ideally, I would like the squares to become full width col-12
, stacking on top of one another, but I am unable to achieve this effect. Is there a misunderstanding on my part, or is it simply impossible? Any guidance would be greatly appreciated. Thank you.