_tab-focus.scss (347B)
1 // WebKit-style focus 2 3 @mixin tab-focus() { 4 // WebKit-specific. Other browsers will keep their default outline style. 5 // (Initially tried to also force default via `outline: initial`, 6 // but that seems to erroneously remove the outline in Firefox altogether.) 7 outline: 5px auto -webkit-focus-ring-color; 8 outline-offset: -2px; 9 }