Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/78.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 导航栏未正确打开_Html_Css - Fatal编程技术网

Html 导航栏未正确打开

Html 导航栏未正确打开,html,css,Html,Css,我有一个固定的底部导航栏,我的“链接”列表不会在悬停时打开。当我能打开它时,它会向下打开,而不是向上打开。我确实添加了底部:0到CSS中的悬停部分,但这不起作用。。任何帮助都将不胜感激 -新的HTML和CSS,这将是一个学校的期末项目 添加底部:0到CSS中的悬停部分 尝试注释要修复的部分 用边距/填充物进行游戏 尝试了一个z函数 代码链接 期待有“链接列表”向上打开,并在前面的一切 删除 溢出:隐藏 从导航类 加 是的,问题是溢出隐藏的,但您希望为nav提供一个大于任何内容的z索引,以便它可

我有一个固定的底部导航栏,我的“链接”列表不会在悬停时打开。当我能打开它时,它会向下打开,而不是向上打开。我确实添加了
底部:0到CSS中的悬停部分,但这不起作用。。任何帮助都将不胜感激
-新的HTML和CSS,这将是一个学校的期末项目

添加
底部:0到CSS中的悬停部分
尝试注释要修复的部分
用边距/填充物进行游戏
尝试了一个z函数

代码链接

期待有“链接列表”向上打开,并在前面的一切

删除

溢出:隐藏

导航


是的,问题是溢出隐藏的,但您希望为nav提供一个大于任何内容的z索引,以便它可以位于任何内容之前:

nav {
width: 100%;
height: 60px;
background-color: white;
position: fixed;
bottom: 0;
z-index: 100;
}

另外,如果可以的话,我想给你一个建议,使用css flex,而不是做一些类似浮动的事情来帮助你达到更好的标准:


请查看此问题。请在问题本身中包含答案,而不仅仅是在外部网站上。你可以用做。谢谢你的额外提示!非常感谢,我会花时间看一下!谢谢你的回答!这很有效,正是我所需要的!!
nav {
width: 100%;
height: 60px;
background-color: white;
position: fixed;
bottom: 0;
z-index: 100;