mirror of
https://github.com/Erreur32/html5demos.git
synced 2024-09-29 00:11:33 +02:00
On OS X, an input element or contenteditable
-enabled element gains a distinctive blue outline on focus. However, that focus is lost on hover, unless we exempt its focused state from the selector.
This commit is contained in:
parent
38fe49acbb
commit
1c6540fe42
@ -67,7 +67,7 @@ footer > * {
|
||||
content: '...quickly';
|
||||
}
|
||||
*/
|
||||
[contenteditable]:hover {
|
||||
[contenteditable]:hover:not(:focus) {
|
||||
outline: 1px dotted #ccc;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user