这是我的第一个信息! 我无法在网页上找到有关我的问题的答案。 我要做响应式网站,但手机上的移动导航存在问题。 导航链接重叠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; }更多推荐
发布评论