I have a SELECT list with several OPTION elements. Here is my naive approach to styling part of the option text:
This is more like an answer / workaround to the question closed as a duplicate on other tags rather than styling in particular for
If you don't mind getting dirty with JavaScript, Select2 provides a very concise way to achieve that. It does use lists for that as well.
Here is HTML
And here is CoffeeScript
$("#e1").select2
theme: "bootstrap"
templateResult: (data) ->
badge = $(data.element).data('badge')
if badge
return $(document.createTextNode(data.text)).add($('').text(badge))
data.text
And here is JSFiddle.