Reputation: 1643
I tried to do the following to remove the focus on the select of bootstrap (i don't want to remove it actually, just to change it's color)
select:focus{
color:#333333;
//border:10px solid red;
border:none!important;
outline:none!important;
}
still see a shadow around it...anyone have a clue?
Upvotes: 2
Views: 3450
Reputation: 15951
demo - http://www.bootply.com/L0Sju3iguY
set outline:0
and box-shadow:none
select:focus{
outline:0;
box-shadow:none;
}
Upvotes: 1
Reputation: 1
Your style could be overwritten by another style with !important. Without code sample it's a bit tricky to help you... Generally you should avoid using !important(if you are using it only to try to make this work it's OK). Are you using any classes on your input or something?
Upvotes: 0
Reputation: 19315
Pretty sure (without a picture) that you'll need box-shadow: none!important;
as well
Upvotes: 3