-2
我希望我的側邊欄出現在一切之上。我已經設置的z-index至10000,不過,卡重疊它 側邊欄和創始人卡的CSS是爲什麼我的z-index不起作用?我希望我的邊欄能夠顯示所有內容。我已將z-index設置爲10000;但還是卡重疊它
.sidemenu{
position: fixed;
\t top: 0px;
\t width: 240px;
\t margin-left: -250px;
\t overflow: hidden;
\t height: 100vh;
\t background: black;
\t opacity: 1; \t
z-index: 100000000000000;
\t transition: all 0.3s ease-in-out;
}
.founders {
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
color: white;
}
可以爲您提供工作代碼..?沒有輸出。 –
提供您的HTML代碼來解決 – PraveenKumar
非常感謝你的幫助 這裏的鏈接頁面 [鏈接](https://codepen.io/poojavpatel71/project/editor/XzxJWR) – Pooja