From c9eb483ca9eb15dac257e10b419645656b370a44 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 7 Dec 2015 21:47:40 -0800 Subject: [PATCH] fixes #18320: pull in suit base reset for button focus styles in FF and IE --- scss/_reboot.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scss/_reboot.scss b/scss/_reboot.scss index c2667bde00..8b9420cf16 100644 --- a/scss/_reboot.scss +++ b/scss/_reboot.scss @@ -264,6 +264,15 @@ label { margin-bottom: .5rem; } +// Work around a Firefox/IE bug where the transparent `button` background +// results in a loss of the default `button` focus styles. +// +// Credit: https://github.com/suitcss/base/ +button:focus { + outline: 1px dotted; + outline: 5px auto -webkit-focus-ring-color; +} + input, button, select, -- 2.47.2