Merge pull request #491 from tailwindcss/no-outline
Add "outline-none" and "shadow-outline" utilities
This commit is contained in:
commit
1fc8a85ffd
5 changed files with 160 additions and 21 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue