Just add outline-style: solid; to your css and it will work.
outline-width: 1px;
outline-style: solid;The outline-width setting doesn't work without specifying outline-style.
if no outline style is set, the browser will render the outline in its default style
(which could be anything, such as a dotted rectangle in IE, a shaded rectangle in Chrome, or even nothing).
Only if you specify outline-style the outline-width will take effect.
If you want to remove all the outline properties(that is width, style, color), just add
outline: none;to your css.
Please check and let me know your feedback. Thanks!