How do you remove the default outline around input elements?
I would like know if is possible disable "focus" which is set by default browser in input elements?
Update
When an input element is in focus, the browser adds a border (typically blue) around it. This is breaking my layout. So I wonder if you can d开发者_开发问答isable it.
Set outline:0;
on those elements.
Add this in your CSS:
input:focus {
outline:none;
}
This
how to remove the default focus on submit button in HTML form?
精彩评论