Here is the layout I created:
https://i.sstatic.net/3cDYr.png
This is the code used to create the layout:
<div class="col-xs-12">
<h3 style="margin-top:50px">
Key Projects
</h3>
<div class="row">
<div class="col-lg-6 col-sm-12">
<img id="projectMainImg" src="https://placeimg.com/544/358/arch" alt="" class="img-responsive ">
</div>
<div class="row col-lg-6 col-sm-12" >
<img id="projectImage" style="height:176px;width:264px;margin:0px 0px 5px 5px" src="https://placeimg.com/264/176/arch" alt="" class="img-responsive">
<img id="projectImage" style="height:176px;width:264px;margin:0px 0px 5px 5px" src="https://placeimg.com/264/176/arch" alt="" class="img-responsive">
<img id="projectImage" style="height:176px;width:264px;margin:0px 0px 5px 5px" src="https://placeimg.com/264/176/arch" alt="" class="img-responsive">
</div>
</div>
</div>
When I resize the screen in Chrome debugger, I encounter this issue: https://i.sstatic.net/ywodk.png
https://i.sstatic.net/eE3BX.png
I believed that using col-sm-12
and class="img-responsive"
would stack smaller images neatly under the big image upon resizing the window. However, I can't figure it out even after spending a lot of time on the Bootstrap site. Could someone please explain what I need to do?