Google Chrome showing black border on focus state for button user agent styles

后端 未结 5 1580
野趣味
野趣味 2020-12-24 07:05

Recently i was working on a web design project, and noticed something odd, after the last Google Chrome update. The default border style(user agent style) for button is chan

5条回答
  •  暖寄归人
    2020-12-24 07:39

    There are 2 way to handle it.

    1. configuration in chrome which few has suggested.

    2. Programmatically approach outline: 0px transparent !important; in style Or outline: none !important; Both have worked for me.

    Since we can't force user to do configuration, I would suggest for second Option but it is long process If you have any shorter way tell us.

提交回复
热议问题