Im quite new to coding and ive been trying to use dropdown list through bootstrap for a project im doing. I have tried many different approaches of getting the ul to push the content down so i can see the "Dropdown 2" while i have "Dropdown 1" open.
Any ideas on how to do this? :)
https://jsfiddle.net/tuqdw0ka/
<div class="dropdown-mobile-menu">
<button class="show" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span>Dropdown 1</span>
</button>
<div class="dropdown-list-items">
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">something 1</a></li>
<li><a class="dropdown-item" href="#">something 2</a></li>
<li><a class="dropdown-item" href="#">something 3</a></li>
</ul>
</div>
<button class="show" type="button" data-bs-toggle="dropdown" aria-expanded="false">
<span>Dropdown 2</span>
</button>
<div class="dropdown-list-items">
<ul class="dropdown-menu dropdown-theme">
<li><a class="dropdown-item" href="#">else 1</a></li>
<li><a class="dropdown-item" href="#">else 2</a></li>
<li><a class="dropdown-item" href="#">else 3</a></li>
</ul>
</div>
</div>