Merge pull request #491 from tailwindcss/no-outline

Add "outline-none" and "shadow-outline" utilities
This commit is contained in:
Adam Wathan 2018-06-21 03:52:00 +09:30 • committed by GitHub
commit 1fc8a85ffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 160 additions and 21 deletions

View file

@ -513,16 +513,6 @@ ul {
margin: 0;
}
/**
* Suppress the focus outline on elements that cannot be accessed via keyboard.
* This prevents an unwanted focus outline from appearing around elements that
* might still respond to pointer events.
*/
[tabindex="-1"]:focus {
outline: none !important;
}
/**
* Tailwind custom reset styles
*/