Search
 
SCRIPT & CODE EXAMPLE
 

HTML

Drop down using bootstrap

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-expanded="false">
    Dropdown button
  </button>
  <ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="dropdownMenuButton2">
    <li><a class="dropdown-item active" 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>
    <li><hr class="dropdown-divider"></li>
    <li><a class="dropdown-item" href="#">Separated link</a></li>
  </ul>
</div>
Comment

bootstrap dropdown button

<body>

<div class="dropdown">
  <button class="btn btn-secondary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
    Dropdown button
  </button>
  <ul class="dropdown-menu">
    <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>

<script src="bootstrap.bootstrap.bundle.js"></script>
</body>
Comment

dropdown forms in bootstrap

          <li class="dropdown">
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown            

         <b class="caret"></b></a>
         <ul class="dropdown-menu">
           <li><a href="#"><form role="form">
<div class="form-group">
  <label for="sel1">Select list (select one):</label>
  <select class="form-control" id="sel1">
    <option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
  </select>
  <br>
  <label for="sel2">Mutiple select list (hold shift to select more than one):</label>
  <select multiple class="form-control" id="sel2">
    <option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
    <option>5</option>
  </select>
</div>
Comment

bootstrap dropdown

<!-- Bootstrap 3.3 Dropdown -->
<div class="dropdown">
  <button id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    Dropdown trigger
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu" aria-labelledby="dLabel">
    ...
  </ul>
</div>
Comment

PREVIOUS NEXT
Code Example
Html :: input text size 
Html :: data list in input tag html 
Html :: html fieldset color background 
Html :: how to get a division to be in centre of screen in responsive web page for screen of any size 
Html :: auto reload 
Html :: applying padding increases the size of the element 
Html :: meta http-equiv x-ua-compatible 
Html :: textfield autocomplete off 
Html :: twig format currency 
Html :: how to write floating point numbers in html5 input 
Html :: add delay to button 
Html :: tailwind css file input 
Html :: how to summon an entity with a tag 
Html :: html input submit size width 
Html :: bootstrap grids examples 
Html :: bootstrap substractive border right 
Html :: css force string to wrap 
Html :: html date 
Html :: placeholder in input field MVC 
Html :: how to make a clickable link 
Html :: tailwind css avatar 
Html :: button element in html 
Html :: selected options with link 
Html :: how to add label on image in html 
Html :: a go to section 
Html :: box search bootstrap 
Html :: iframe center 
Html :: how to refer to external style sheet 
Html :: link open in new tab html 
Html :: yellow html 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =