我在我的webpage.Now中有固定的导航栏,我有一个输入框,当我集中在一个dialog.Now中打开一个建议列表时,我面临的问题是对话框在导航栏下面,我希望它在导航栏之上。
对话框css
.search-overlay-container {
position: static;
border-bottom-right-radius: 20px;
border-bottom-left-radius: 20px;
width: 340px;
box-shadow: 0 0 0px;
padding: 0px;
background-color: #343031;
overflow: auto;
margin-top: -79px;
min-height: 475px;
max-height: 475px;
}固定肚脐
position: fixed;
right: 0;
left: 0;
z-index: 1030;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}发布于 2016-01-26 09:31:18
添加高于导航栏的css z索引属性.例如:
z-index: 1000;https://stackoverflow.com/questions/35010595
复制相似问题