How do I edit the scroll bar of a select tag? [duplicate]

0
<select id="select">
  <option value="week"> Previsão Semanal</option>
  <option value="daily"> Previsão Diária</option>
</select>

I have this code here and in css I wanted to edit the scroll of the select by placing the letter of another color and the background is not the white

    
asked by anonymous 02.12.2017 / 18:43

1 answer

0

Very simple ... Just use the backgroud and color attributes of the element. In that case it would look like this:

    #select{
      background: red;
      color:#fff;
    }
    
02.12.2017 / 18:53