<label for="extras">Extras</label>
<select id='extras' class="form-control form-control-sm">
<option>None</option>
{% for ex in extra %}
<option>
<span>
<div>{{ ex.itemname }}</div>
<div style='float: right; font-weight: bold; color:green;'>${{ ex.smallcost }</div>
</span>
</option>
{% endfor %}
</select>
I have applied some styling to the cost but it is not working, you can see in the image below.