html - 响应式网站菜单 z-index

标签 html css responsive-design z-index concrete5

我正在尝试构建一个响应式菜单。我在添加正确的 Z 索引时遇到一些问题。

这是网站:http://erlendvanlandeghem.be/ 当您缩小窗口时,您应该会看到一个显示“显示菜单”的按钮。然后菜单在内容后面展开(cwrap)。我尝试用 z 索引修复它,但这似乎不起作用。

有什么帮助吗?提前致谢!

最佳答案

只需将 position:relative; 添加到以下 id #navwrapper

关于html - 响应式网站菜单 z-index,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27173081/

相关文章:

css - 媒体查询 : how to make text change color when window width gets below 600px

javascript - 在表 tr td 中使用 nth-child 来获取值并查找总计

javascript - 播放中的 HTML5 视频火灾事件(暗淡页面)

javascript - css 为 null 或不是对象

jquery - CSS/jQuery : background color for JUST the text in an input

html - CSS - 按钮的左边框在右侧变圆

android - CSS "display:block"不适用于 Chrome for Android

css - 为什么绝对定位元素嵌套在第一个 "row"相对 div 而不是其父 div?

html - 媒体查询行为怪异

html - 使用完整浏览器可用宽度的简单方法(CSS 响应式设计)