javascript - 从 material-ui 按钮中删除黑色边框

标签 javascript reactjs material-ui

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?

Border in datepicker icon

最佳答案

请这样尝试。

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

关于javascript - 从 material-ui 按钮中删除黑色边框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67529639/

相关文章:

javascript - $(selector)[0] 在 jQuery 中是什么意思?

javascript - 使用jquery动态加载js

javascript - 变量不被其值替换

reactjs - 指定或不指定所有 useEffect 依赖项

reactjs - 左右移动内容以跟随抽屉打开/关闭(Material-UI)

javascript - Material UI 中的对话框以奇怪的灰色背景打开

javascript - setTimeout 在 IE11 上无法按预期工作

reactjs - 语义 UI React 中的 React Select

javascript - 突出显示单击的页码

javascript - makeStyles 的 Material UI 问题