Skip to content

Instantly share code, notes, and snippets.

@JibsouX
Created June 19, 2019 08:46
Show Gist options
  • Select an option

  • Save JibsouX/02d56aa5afeb87537ca776840e6abc46 to your computer and use it in GitHub Desktop.

Select an option

Save JibsouX/02d56aa5afeb87537ca776840e6abc46 to your computer and use it in GitHub Desktop.

Revisions

  1. JibsouX created this gist Jun 19, 2019.
    20 changes: 20 additions & 0 deletions disable-outline-crossbrowser.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    button:focus,
    a:focus,
    a:active,
    button[type="button"]:focus,
    button::-moz-focus-inner,
    input[type="reset"]::-moz-focus-inner,
    input[type="button"]::-moz-focus-inner,
    input[type="submit"]::-moz-focus-inner,
    select::-moz-focus-inner,
    input[type="file"]>input[type="button"]::-moz-focus-inner {
    outline: none !important;
    }
    select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
    }
    select:focus::-ms-value {
    background-color: $input-bg;
    color: $input-color;
    }