When I set the height of a container to 100% and each content section inside to 25%, why isn't it working as expected? In my browser, each div appears really small and doesn't fill the full page. Can anyone help me figure out what I'm doing wrong here?
This is my HTML Code:
<div class="container-fluid" style="height: 100%">
<div class="row" style="height: 25%;">
<div class="col-xs-4 col-md-4" style="background-color:red;">
.col-xs-9 .col-md-7
</div>
<div class="col-xs-4 col-md-4" style="background-color:yellow;">
.col-xs-3 .col-md-5
</div>
<div class="col-xs-4 col-md-4" style="background-color:lavender;">
.col-xs-3 .col-md-5
</div>
</div>
(The rest of the code remains unchanged)
I have already read this resource on how to make Bootstrap columns all the same height but I still can't seem to understand why setting 100% -> 25% for each div isn't working in this case.
Link to Output Screenshot: https://i.sstatic.net/Fdbey.png