How to remove the “Dotted Border” on clicking?

前端 未结 6 1477
终归单人心
终归单人心 2020-12-11 03:52

As you can see

\"alt

I want to somehow remove the dotted lines after the button has been clicke

6条回答
  •  暖寄归人
    2020-12-11 04:17

    Possible with pure HTML as well:

    ...
    

    And with JavaScript you can do that on all links:

    window.onload = function WindowLoad(evt) {
       //hide focus:
       var arrLinks = document.getElementsByTagName("a");
       for (var i = 0; i < arrLinks.length; i++) {
           arrLinks[i].hideFocus = "true";
    }
    

提交回复
热议问题