开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜