0

How to Change Selected Value Background Color Black Insted Of Blue, For Better Understand See Below Pic :-

https://prnt.sc/qv322o

My Code :-

<select class="drop_select_none" (change)="customer_item($event.target.value)">
    <option value="0">--{{'Select_customer' | translate}}--</option>
    <option *ngFor="let cust of customer;" [value]="cust | json">{{cust.first_name}} 
    </option>
 </select>
MohammedAli
  • 2,011
  • 1
  • 13
  • 33
  • I feel like this should be able to answer what you need. https://stackoverflow.com/questions/12836227/change-select-box-option-background-color – Bjorn Pijpops Jan 30 '20 at 14:05
  • Select / Option elements are rendered by the OS, not HTML. You cannot change the style for these elements. https://stackoverflow.com/questions/10484053/change-select-list-option-background-colour-on-hover – Seryoga Jan 30 '20 at 14:05

0 Answers0