diff options
Diffstat (limited to 'site/static/styles/scss/bootstrap/mixins/_tab-focus.scss')
-rw-r--r-- | site/static/styles/scss/bootstrap/mixins/_tab-focus.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/site/static/styles/scss/bootstrap/mixins/_tab-focus.scss b/site/static/styles/scss/bootstrap/mixins/_tab-focus.scss new file mode 100644 index 0000000..f16ed64 --- /dev/null +++ b/site/static/styles/scss/bootstrap/mixins/_tab-focus.scss @@ -0,0 +1,9 @@ +// WebKit-style focus + +@mixin 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; +} |