outline-width
Sets the thickness of the outline around an element. It works exactly like 'border-width'.
It is documented as part of the CSS Basic User Interface specification.
Syntax
/* Usage Example */
input:focus {
/* Makes the focus outline thicker */
outline-width: 3px;
}
/* Global values */
outline-width: inherit;
outline-width: initial;
outline-width: revert;
outline-width: revert-layer;
outline-width: unset;
outline-width Browser support
Widely available
Since
2017 96% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2017.
1+
1.5+
1.2+
12+