Currently seeking an inline dropdown styled with Bootstrap v4 that resembles the following:
https://i.sstatic.net/ZTs8b.gif
I have experimented with several options, and so far the closest one is as follows:
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown button
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<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>
The issue at hand is that the toggler should not be a button, but perhaps a span instead. What CSS rules do we need to implement to achieve a similar look as depicted in the screencast above?