I'm trying to create a videos section for my website, similar to the way dribbble.c开发者_Go百科om does it. I would like my video divs to fall into place next to one another like they do on dribbble... I figured creating the videos and floating them inside a larger div would do the trick, but I can't seem to get them to line up right. I know creating three columns would work but that would be kinda redundant.
Can someone give me the basic structure to achieve this kind of behavior?
Using this CSS property I think you will arrange your videos in one line.
display: flex;
flex-direction: column;
精彩评论