Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

Focus fix

Adds is-mouse-focused class to clicked elements (and removes it after blur), so you can separate mouse/touch focus style and keyboard focus style.

/* keyboard focus style */
:focus {
  outline: 1px solid blue;
}

/* mouse/touch focus style */
:active,
.is-mouse-focused:focus {
    outline: none;
}

:active is required to prevent flickering.

CC0

About

No description, website, or topics provided.

Resources

Releases

No releases published
You can’t perform that action at this time.