Answers for "bootstrap dropdown content"

0

dropdown bootstrap

<div class="dropdown show">
  <a class="btn btn-secondary dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Dropdown link
  </a>

  <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
    <a class="dropdown-item" href="#">Action</a>
    <a class="dropdown-item" href="#">Another action</a>
    <a class="dropdown-item" href="#">Something else here</a>
  </div>
</div>
Posted by: Guest on December-06-2020
0

bootstrap dropdown

<!-- Bootstrap 5 Dropdown -->
<div class="dropdown">
   <button
      class="btn btn-secondary dropdown-toggle"
      type="button"
      id="dropdownMenuButton1"
      data-bs-toggle="dropdown"
      aria-expanded="false"
   >
      Dropdown button
   </button>
   <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
      <li><a class="dropdown-item" href="#">Action</a></li>
      <li><a class="dropdown-item" href="#">Another action</a></li>
      <li><a class="dropdown-item" href="#">Something else here</a></li>
   </ul>
</div>
Posted by: Guest on March-02-2021
0

dropdown menu bootstrap

<div class="collapse navbar-collapse">
    <ul class="navbar-nav mr-auto">
      	<li class="nav-item">
      		<a class="nav-link" href="#">Clientes</a>
      	</li>
      	<li class="nav-item">
      		<a class="nav-link" href="#">Fornecedores</a>
      	</li>
     	<li class="nav-item dropdown">
          <a  class="nav-link dropdown-toggle" href="#" data-toggle="dropdown">
            Veículos
          </a>
          <div class="dropdown-menu">
            <a class="dropdown-item" href="#">Carros</a>
            <a class="dropdown-item" href="#">Marcas</a>
            <a class="dropdown-item" href="#">Modelos</a>
          </div>
    	</li>
	</ul>
</div>
Posted by: Guest on October-08-2021

Browse Popular Code Answers by Language