Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我花了一些时间使菜单水平滚动。所以我尝试了这个:
white-space: nowrap; overflow-x: scroll; -webkit-overflow-scrolling: touch;
问题是“溢出-y”现在自动设置为“自动”我在这里发现的方式,所以下拉菜单不显示。
演示
我搜索了所有stackoverflow并尝试了所有类似父元素的方法:auto; 依此类推,但没有什么对我有用:(
这可能与 CSS 或可能有更好的 jquery 解决方案?
谢谢!最好的问候马可