欧美一区二区三区,国内熟女精品熟女A片视频小说,日本av网,小鲜肉男男GAY做受XXX网站

如何使用bootstrap 5創建帶有下拉菜單的堆疊菜單

老白2年前9瀏覽0評論

我有一個層疊在一起的菜單,如下圖所示。

enter image description here

我試著用引導菜單下拉來做這件事,但是不能做對。有人能幫忙嗎?

<ul class="navbar-nav me-auto mb-2 mb-lg-0">
    <li class="nav-item dropdown">
      <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
        Versioning
      </a>
      <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
        <li><a class="dropdown-item" href="#">Upload</a></li>
        <li><a class="dropdown-item" href="#">Backup</a></li>
        <li><hr class="dropdown-divider"></li>
        <li><a class="dropdown-item" href="#">All Versions</a></li>
      </ul>
    </li>

    <li class="nav-item dropdown">
      <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
        Arrangement
      </a>
      <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
        <li><a class="dropdown-item" href="#">Reorder</a></li>
        <li><a class="dropdown-item" href="#">Rotate</a></li>
        <li><hr class="dropdown-divider"></li>
        <li><a class="dropdown-item" href="#">Options</a></li>
      </ul>
    </li>
</ul>