summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/tab-focus.less
blob: d12d23629f52f2d8bfb332b62627eee22a953b2b (plain)
1
2
3
4
5
6
7
8
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;
}