For example:
<select>
<option value="one">1</option>
<option value="two">2</option>
<option value="three">3</option>
</select>
I want to select the option where value = one, but I must select using the value attribute.
I've tried a few variations as the ones below:
option[value="one"]{
}
select[value="one"]{
}
select option[value="one"]{
}
option[value=two] {
background-color: yellow;
}
<select>
<option value="one">1</option>
<option value="two">2</option>
<option value="three">3</option>
</select>