diff options
| author | Mark Otto <[email protected]> | 2015-12-07 21:57:06 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-12-07 21:57:06 -0800 |
| commit | 5a6a12872887a4a1288541ac904ae040e31cf648 (patch) | |
| tree | 10b277405c7270d2955a1d933742515467969d04 | |
| parent | e5b692225846d7d1d6feb7de2a73f1608d2a0731 (diff) | |
| download | bootstrap-5a6a12872887a4a1288541ac904ae040e31cf648.tar.xz bootstrap-5a6a12872887a4a1288541ac904ae040e31cf648.zip | |
fixes #18330
| -rw-r--r-- | scss/_reboot.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss index 8b9420cf1..a3e4175a4 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -77,6 +77,15 @@ body { background-color: $body-bg; } +// Suppress the focus outline on elements that cannot be accessed via keyboard. +// This prevents an unwanted focus outline from appearing around elements that +// might still respond to pointer events. +// +// Credit: https://github.com/suitcss/base +[tabindex="-1"]:focus { + outline: none !important; +} + // // Typography |
