diff options
Diffstat (limited to 'bootstrap/fonts/less/mixins/tab-focus.less')
-rwxr-xr-x | bootstrap/fonts/less/mixins/tab-focus.less | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/mixins/tab-focus.less b/bootstrap/fonts/less/mixins/tab-focus.less new file mode 100755 index 0000000..d12d236 --- /dev/null +++ b/bootstrap/fonts/less/mixins/tab-focus.less @@ -0,0 +1,9 @@ +// WebKit-style focus + +.tab-focus() { + // WebKit-specific. Other browsers will keep their default outline style. + // (Initially tried to also force default via `outline: initial`, + // but that seems to erroneously remove the outline in Firefox altogether.) + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px; +} |