5

如何删除 Google Chrome 中出现的按钮上的黄色边框。我试图覆盖样式,但想象一下,如果你必须为每个按钮都这样做。

在此处输入图像描述

.dijitReset .dijitStretch .dijitButtonContents{
    outline:none;
}

有任何想法吗?

4

1 回答 1

10

Actually that worked for me. I did this (since I use claro theme)

.claro *
{
    outline: none;
}

So when you do something like this <body class="claro"> ... </body> it should work. I've been looking for a way to do this since a few days but your css snippet took me into the right direction.

于 2012-08-18T12:47:01.980 回答