[英]Bootstrap navbar dropdown list hides behind html select option
問題是我的引導程序導航欄正下方有一個選擇選項列表,當我打開選擇列表並將鼠標懸停在導航欄上以打開其dropwwon時出現了問題,我嘗試了此解決方案,但不適用於我。
.select-style {
width: 100%;
height: 40px;
padding-left: 10px;
background-image: url(/getmedia/f5d6e976-be64-4f97-b0bf-b4bb2c9ddf15/Dropdown.aspx);
background-repeat: no-repeat;
background-size: 12px;
background-position: 96% center;
}
.select-style {
border: 1px solid #ececec;
font-size: 15px;
font-family: arialRegular;
}
.select-style { z-index:initial; }
您必須給navbar父類z-index多個選擇,並嘗試以減號givr z-index進行選擇
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.