I have the following code:
.exemplo {
width: 800px;
}
img {
width:100%;
height: 100%;
}
.home-videos {
/*@extend .col-md-3;*/
width: 200px;
height: 150px;
padding: 5px !important;
box-sizing: border-box;
margin: 0px;
float:left;
}
.home-videos:nth-child(2), .home-videos:last-child{
/*@extend .col-md-6;*/
width: 400px;
height: 300px;
}
.home-videos:last-child{
height: 150px;
}
.videos-descript {
position: absolute;
display: none;
}
<div class="exemplo">
<figure class="home-videos">
<img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
<figure class="home-videos">
<img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
<figure class="home-videos">
<img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
<figure class="home-videos">
<img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
<figure class="home-videos">
<img src="https://pbs.twimg.com/profile_images/758084549821730820/_HYHtD8F.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
<figure class="home-videos">
<img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
<figure class="home-videos">
<img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
<figure class="home-videos">
<img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg"><figcaptionclass="videos-descript">
<p>Titulo</p>
</figcaption>
</figure>
</div>
I would like the "figure" that is out of alignment to go up below the first image, aligning.
Note: Each 'figure' is a Wordpress post, so it has no other divs to shape the mosaic.