-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