Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Doc strange outline love
//detecting tab key press
$('body').on('keydown', function(e) {
var keyCode = e.keyCode || e.which;
if(keyCode == 9) {
GUI.debugging( 'GUI: Tab detected', 'report' );
.outline() {
outline: none;
.is-keyboarduser & {
outline: 2px dotted #000;
outline-offset: 0.5rem;
.tab-link {
&:focus {

This comment has been minimized.

Copy link

commented Nov 11, 2015

Nice idea!

Here's a vanilla js version that you can just inline:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.