I'm facing a challenge with my select box setup:
<select class="selectpicker" multiple data-live-search="true" name="color[]" title="Nothing selected yet">
<option class="" style="border-bottom:2px solid; border-color:red" value="">Red</option>
<option class="" style="border-bottom:2px solid; border-color:black" value="">Black</option>
<option class="" style="border-bottom:2px solid; border-color:white" value="">White</option>
</select>
My goal is to have a line under each option text, similar to the image below:
https://i.sstatic.net/IF564.png
However, I want the line to be only under the text itself, like "Red", and not full-width as shown in the example.
I attempted to adjust the width, but that didn't provide the desired outcome since I need the option to remain fully clickable.