Horizontally Scrolling Layouts with Flexbox + Columns

末鹿安然 提交于 2019-12-06 11:20:30

问题


Anyone want to help me debug a little experiment I'm working on. I want to use flexbox/multicolumn layout to get a layout similar to what you see in many Windows 8 news app, where the article(s) are in fixed width columns, with a dynamic number of columns depending on the length of the article, that scroll off to the right.

So I whipped up this CodePen but flexbox and the columns don't seem to be working together well. In Firefox, it only shows one column of each, and I can't even tell what's going on in webkit.

What am I screwing up?

(I looked and in Windows 8 html5 apps they seem to use grid layout, but I can't do that since it's IE only)

来源:https://stackoverflow.com/questions/16600007/horizontally-scrolling-layouts-with-flexbox-columns

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!