我无法解决以下问题:
请注意下拉菜单“Company branches”和“Fields of Business”,当展开时,它会隐藏在下方部分的后面。我希望的是把它带到顶峰。
在移动设备上查看时,页眉 Logo + 文本不适合, Logo 从 View 中消失。修复它的最佳方法是什么?
谢谢。
最佳答案
对于第 2 期,使用这个
.main-header .hero-header .inner-hero-header {
position: relative;
width: 100%;
left: 0;
z-index: 10;
bottom: 0;
}
.inner-hero-header 类的位置是“绝对”的,因此,您将位置更改为“相对”
关于css - 使用 CSS 的下拉覆盖问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37177785/