如何在FireFox的每個元素上移除這些醜陋輪廓?我也想知道如何去除Google Chrom中輸入和textareas中醜陋的輪廓。正如你所看到的,我使用了我知道的任何可能的屬性。它仍然存在(FF中的虛線輪廓和Chrome中的輸入輪廓等)。如何刪除鏈接,按鈕,輸入,文本區和按鈕上的虛線輪廓
*:active,
*:focus,
*:visited,
*::active,
*::focus,
*::visited,
input:active,
input:focus,
input:visited,
input::active,
input::focus,
input::visited,
textarea:active,
textarea:focus,
textarea:visited,
textarea::active,
textarea::focus,
textarea::visited,
a:active,
a:focus,
a:visited,
a::active,
a::focus,
a::visited
{
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: transparent;
-webkit-tap-highlight: none;
-webkit-focus-ring-color: rgba(0, 0, 0, 0);
-webkit-focus-ring-color: transparent;
-webkit-focus-ring-color: none;
outline: 0;
outline: none;
}
*:-moz-focus-inner,
*::-moz-focus-inner,
input:-moz-focus-inner,
input::-moz-focus-inner,
textarea:-moz-focus-inner,
textarea::-moz-focus-inner,
a:-moz-focus-inner,
a::-moz-focus-inner
{
border-color: transparent;
border: 0;
border: none;
outline: 0;
outline: none;
}