响应navi重叠h1和nav上的h1链接不起作用(Responsive navi overlaps h1 and navi links on h1 isn't working)

编程入门 行业动态 更新时间:2024-10-15 20:17:18
响应navi重叠h1和nav上的h1链接不起作用(Responsive navi overlaps h1 and navi links on h1 isn't working)

这是我的第一个信息! 我无法在网页上找到有关我的问题的答案。 我要做响应式网站,但手机上的移动导航存在问题。 导航链接重叠H1和链接不反应(不工作,因为它应该)。 z-index在这里没有帮助,mobile-navi上的backgorund-color看起来很糟糕,链接仍然没有反应。 给我一个答案,如果你有一些想法来解决它。 我的网页: http : //jakub-lawniczak.com/

this is my first message! I can't find answer on my question on the webpage. I'm going to do responsive website but I have a problem with mobile navigation on the phone. The navi links overlaps h1 and links dont's react (does not work as it should). The z-index not helps here and the backgorund-color on mobile-navi looks bad and links still don't react. Give me an answer if you have some idea to fix it. My webpage: http://jakub-lawniczak.com/

最满意答案

将z-index设置为.main-nav这将解决您的重叠问题

.main-nav { position:relative; z-index:9; }

set z-index to .main-nav This will fix your overlaping issue

.main-nav { position:relative; z-index:9; }

更多推荐

本文发布于:2023-07-14 14:35:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1105127.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不起作用   链接   nav   navi   overlaps

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!