开发者

How do I line up video divs?

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜