Change blue color in Select Tag


How can I change the blue colors to another color?


You’ll need to show us what code you presently have…

  <div class="form-group">
    <select asp-for="ProvinceId" id="Cat1" name="ProvinceId" class="form-control " asp-items="@(new SelectList(ViewBag.ListOfProvince,"Id","Name"))"></select>


and your CSS?


Hi there shabzadeh97,

you cannot change the background-color
of the option element with CSS. Messing
around with form elements for personal
preference is frowned upon, so don’t do it.




I just want to change the color of the box, like Google, which has made it more bold


I have nothing


That looks like a border on the select.

select{border:2px solid blue}