I'm currently working on creating elements with bootstrap, but I've hit a roadblock and could use some assistance in figuring out how to resolve it. The issue I'm facing is closely related to the HTML structure, here's an example:
<div class="container">
<ul class="list-group">
<li class="list-group-item">
<ul class="list-group">
<li class="list-group-item items-orange">This is option one from pair one</li>
<li class="list-group-item items-blue">This is option two from pair one</li>
</ul>
<button class="btn btn-sm btn-danger" type="button">Close Button</button>
</li>
</ul>
</div>
My challenge is how to position the button at the bottom right, following the li elements as shown in the image below: