最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Removing black border from material-ui button - Stack Overflow

programmeradmin6浏览0评论

I'm using the material-ui datepicker and the material-ui buttons. I'm getting a black border when I click on the datepicker icon to select the date or when I click on any of the buttons. How can I get rid of the black border?

I'm using the material-ui datepicker and the material-ui buttons. I'm getting a black border when I click on the datepicker icon to select the date or when I click on any of the buttons. How can I get rid of the black border?

Share Improve this question asked May 14, 2021 at 5:54 Vins98Vins98 713 silver badges8 bronze badges 1
  • Do you use material-ui KeyboardDatePicker? – BTSM Commented May 14, 2021 at 6:04
Add a ment  | 

2 Answers 2

Reset to default 4

Please try like this.

button:focus { outline: none !important;;}

you can do it by changing the css:

button:focus { border: none;}
发布评论

评论列表(0)

  1. 暂无评论