
You can end up with something that is not ugly and works with very little effortĬonst keyboardUserCssClass = "keyboardUser" ī(keyboardUserCssClass) || (keyboardUserCssClass) ī(keyboardUserCssClass)

This can be extended further by using external libraries that build on the idea of modifying the "outline" as opposed to removing it entirely like Materialize I also remove the default borders on the top, left and right sides by setting them to transparent on :focus and :active (personal preference) I remove the outline and add a bottom border on :focus and :active. Here's a very simple example of what I mean. Remove the ugly outline and add your own visual cues to indicate focus.

Now compare that to the same template if we keep the outline: Click on this text and then use the TAB key to naviagte inside the snippet.
