Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.
Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.
To ensure the outline is visible, performs a color inversion of the background.
To ensure the outline is visible, performs a color inversion of the background. This makes the focus border more salient, regardless of the color in the background. Note that browser are not required to support it. If not, they just consider the statement as invalid
MDN
The outline-color CSS property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.
MDN