I have this select with html and css:
HowdoIputaborderonthesideofthearrow?
So:
With the example of @ Emerson Vieira, I made some changes to get the result you expect:
select {
background-image:
linear-gradient(0deg, transparent 0%, transparent 0%),
linear-gradient(0deg, transparent 0%, transparent 0%),
linear-gradient(to right, #ccc, #ccc);
background-position:
calc(100%) calc(1em + 1px),
calc(100%) calc(1em + 1px),
calc(100% - 1.5em) 0.2em;
background-size:5px 5px, 5px 5px, 1px 2.5em;
background-repeat: no-repeat;
width: 200px;
padding: 10px;
}
<select class="select">
<option>Arroz</option>
<option>Feijão</option>
<option>macarrão</option>
</select>