<select
value={value}
onChange={this.onChange.bind(this)}
>
{options.map(o => (
<option value={o.value} key={o.value}>
{o.text}
</option>
))}
</select>
select,
option{
box-sizing: border-box;
width: 100%;
height: 32px;
line-height: 32px;
padding: 5px 10px;
outline: 0;
border-width: 1px;
border-style: solid;
border-radius: 0;
background: #fff;
color: #008466;
appearance: normal;
border-color: #008466;
}
Here I have one select element and style for that element. The style css select,option is common to our application.But here in select element I do not want to apply the common style.So my requirement is 1 - How to give default select without any style 2 - How can I override the style of select element.
Thanks