I have one image on the left and another 4 blocks on the right. I needed the four blocks to follow the height of the image, even when changing the resolution.
HTML:
<divclass="container-fluid">
<div class="row">
<div class="col-md-6 img-container">
<img class="img-responsive" src="{{ asset('storage/img4.jpg') }}" alt="...">
</div>
<div class="col-md-6">
<div class="row">
<div class="col-sm-6 col-md-6 container-painel">
<div class="painel1">
<img class="img-responsive" src="{{ asset('storage/massage.png') }}">
<h2>Título</h2>
<img class="img-responsive" src="{{ asset('storage/vetor.png') }}">
<p>Lorem ipsum dolor sit amet.</p>
</div>
<div class="painel3">
<img class="img-responsive" src="{{ asset('storage/massage.png') }}">
<h2>Título</h2>
<img class="img-responsive" src="{{ asset('storage/vetor.png') }}">
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
<div class="col-sm-6 col-md-6 container-painel">
<div class="painel2">
<img class="img-responsive" src="{{ asset('storage/massage.png') }}">
<h2>Título</h2>
<img class="img-responsive" src="{{ asset('storage/vetor.png') }}">
<p>Lorem ipsum dolor sit amet.</p>
</div>
<div class="painel4">
<img class="img-responsive" src="{{ asset('storage/massage.png') }}">
<h2>Título</h2>
<img class="img-responsive" src="{{ asset('storage/vetor.png') }}">
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
</div>
</div>
</div>
CSS:
.img-container {
padding: 0;
}
.container-painel {
padding: 0;
}
.painel1 {
padding: 0;
border-bottom: 1px solid #333333;
border-right: 1px solid #333333;
}
.painel2 {
padding: 0;
border-bottom: 1px solid #333333;
border-right: 1px solid #333333;
}
.painel3 {
padding: 0;
border-right: 1px solid #333333;
}
.painel4 {
padding: 0;
border-right: 1px solid #333333;
}