简体   繁体   English

使用CSS忽略div元素下的nav显示

[英]ignore the display of nav under div element with CSS

I have this code below 我下面有这段代码

<div id="navbar" class="navbar-collapse collapse pull-right hidden-xs">
    <nav id="menu">
      <ul class="nav navbar-nav navbar-right">
        <li ><a class="page-scroll" href="#home">Accueil</a></li>
        <li> <a class="page-scroll" href="#solutions">Nos solutions</a></li>
        <li class="dropdown"> <a class="page-scroll drop dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" href="#sms">Nos services</a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="sms.html">SMS</a></li>
            <li><a href="#wboardsuite">W Board Suite</a></li>
            <li><a href="esb.html">ESB</a></li>
            <li><a href="#afbl">AFBL</a></li>
          </ul>
        </li>
        <li> <a class="page-scroll" href="#histoire">Notre Histoire</a></li>
        <li> <a class="page-scroll" href="#team">Nos References</a></li>
        <li class="dropdown"> <a class="page-scroll drop dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" href="#blog">blog</a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="blog-full-width.html">full-width Blog</a></li>
            <li><a href="blog-sidebar.html">sidebar blog</a></li>
          </ul>
        </li>

      <li><a class="page-scroll" href="#contact">Contact</a></li>

    </ul>
    </nav>
  </div><!--/.nav-collapse -->

knowing that i use Bootstrap , and jquery and mmenu jquery to display the nav(for mobile size) and i am obliged to add both of div id=navbar and the nav id=menu but on the browser the div is hidden by the nav 知道我使用Bootstrap,jquery和mmenu jquery来显示nav(用于移动大小),我不得不添加div id = navbarnav id = menu,但是在浏览器中div被导航隐藏
what Attribute CSS to add to ignore the style of the nav ? 要添加什么属性CSS来忽略导航的样式?

HIDDEN VISIBLE LINK 隐藏的可见链接

I have not quite understood your question .. I think you mean to hide the bar depending on which dispostivo're without ID. 我不太了解您的问题..我认为您的意思是根据没有ID的dispostivo's隐藏该栏。 You can use hidden or visible, and play with them to show or hide depending on which device you are! 您可以使用隐藏的或可见的,并与它们一起玩以显示或隐藏,具体取决于您所使用的设备!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM