mirror of
https://github.com/Erreur32/html5demos.git
synced 2024-09-30 04:41:30 +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';
|
content: '...quickly';
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
[contenteditable]:hover {
|
[contenteditable]:hover:not(:focus) {
|
||||||
outline: 1px dotted #ccc;
|
outline: 1px dotted #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user