如何为动态的列数设置flex UL拉伸的背景?
我正在尝试设置主要导航组件的样式,但是在子菜单弹出窗口中无法动态获取换行列的背景的背景时,我遇到了麻烦。有人可以帮助这个jsfiddle吗?我已经用尽了我有限的CSS知识以及我可以通过Google找到的任何东西。
标记来自内容管理系统,因此尽管添加了CSS类,但我对生成的标记的控制有限,尽管我可以完全控制CSS。
I almost got it working properly using column-count, but the number of columns need to be dynamic....