4
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">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
  <figure class="home-videos">
    <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
  <figure class="home-videos">
    <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
  <figure class="home-videos">
    <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
  <figure class="home-videos">
    <img src="https://pbs.twimg.com/profile_images/758084549821730820/_HYHtD8F.jpg">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
  <figure class="home-videos">
    <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
  <figure class="home-videos">
    <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
  <figure class="home-videos">
    <img src="http://qnimate.com/wp-content/uploads/2014/03/images2.jpg">
    <figcaption class="videos-descript">
      <p>Titulo</p>
    </figcaption>
  </figure>
 </div>I would like the "figure" that this out of alignment, rise down from the first image, aligning.
Note: Each 'figure' is a Wordpress post, so there are no other Ivs to shape the mosaic.
Just one question, I had thought about using grid, but when I went to study, I read that it doesn’t work yet in all browsers, that’s right?
– Victor Pereira
@Victorpereira only does not work in IE (Edge). In this case would have to make a hack. I will do here and put in the answer ok?
– Sam
Okay, thank you very much, just one thing, the picture fulfilled 'last-Hild' she is in the middle, would have put at the end?
– Victor Pereira
@Victorpereira I modified the code as your last comment, and made minor improvements to the code. I will see the hack and warning.
– Sam
@Victorpereira I added at the end of reply a hack for IE.
– Sam