How to change the font size of the option in the selected dropdown menu in css?
<div class="col-md-3">
<label for="role">نقش پرسنل :</label>
</div>
<div class="form-group col-md-5">
<select class="form-control" id="role" name="SelectedRoles">
<option selected>معاونت مورد نظر را انتخاب کنید</option>
@foreach (var item in Roles)
{
<option value="@item.RoleId"> @item.RoleTitle</option>
}
</select>
</div>
3
Answers
For selection option we can apply
font-size
as :Try this: