summaryrefslogtreecommitdiff
path: root/bootstrap/less/mixins/tab-focus.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/less/mixins/tab-focus.less')
-rwxr-xr-xbootstrap/less/mixins/tab-focus.less9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstrap/less/mixins/tab-focus.less b/bootstrap/less/mixins/tab-focus.less
new file mode 100755
index 0000000..d12d236
--- /dev/null
+++ b/bootstrap/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;
+}