Change blue color in Select Tag


#1

hi
How can I change the blue colors to another color?
image


#2

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


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

#4

and your CSS?


#5

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.

coothead


#6

image

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


#7

I have nothing


#8

That looks like a border on the select.

select{border:2px solid blue}