I want to create a grid of sensitive images that are always square in Bootstrap.
So far I got this: Jsfiddle Link
This part makes the elements be square all the time:
.frontpage_square { position:relative; overflow:hidden; padding-bottom:100%; } .frontpage_square img { position:absolute; }
The larger square on the left and the nine smaller ones on the right are correct, but I cannot understand how I can distribute the nine squares on the right to the entire height. Thus, basically they should take the entire height on the left, a large area.
source share