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.
我的问题是下拉菜单不在其下方的元素之上。如果我删除 .header 的相对位置,下拉列表在顶部,但我需要该规则来获得更高的 zindex 以将 .header 设置在滑块上方。
这是一个链接: http ://thomasgrauer.com/inbound/
您需要从标题中删除“溢出:自动” 。main.css文件中的第 148 行。
这是我从评论中得到的答案。
您是否尝试过从overflow: auto;您的<header>.
overflow: auto;
<header>