Use focus-visible

This commit is contained in:
Lim Chee Aun 2022-12-31 09:51:59 +08:00
parent 52d5756d44
commit 36a33e488b

View file

@ -247,7 +247,7 @@ code {
outline: 0;
}
:not([tabindex='-1']):focus {
:not([tabindex='-1']):focus-visible {
outline: 2px solid var(--focus-ring-color);
}