Adapting posts to columns using Flexbox

0

All good, people? Next I have a site that I need to call the latest posts from a category of id = 3 within 2 rows with 3 columns in home, something that would be very easy using bootstrap repeating 6 div with class ".col-sm-4" for example . But in my case I have a div with 3 columns and each column has 2 images one below the other and in the middle is bigger the height and width, only the html and css I have already done, the call is also done but I wanted to call 2 by time in each column and middle column would call the class that would make it increase. Currently it is as in the appendix named test.jpg and wanted it to look the same in index.png!

    
asked by anonymous 14.07.2017 / 22:43

1 answer

0

Good afternoon guys, I ended up solving creating a div with flex display with wrap. And inside that div I have created 3 columns and each column has 2 articles inside. In the middle I created a special class for articles to be bigger than the ends! You can see on the website: link

    
11.01.2018 / 18:58