Skip to content

Commit b9cb824

Browse files
committed
reset focus-visible styles
1 parent cc8a57c commit b9cb824

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

flexbox-reset.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ q::after {
2929
content: '';
3030
content: none;
3131
}
32+
:focus-visible {
33+
outline: revert;
34+
}
3235
html {
3336
text-size-adjust: none;
3437
}

flexbox-reset.less

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*:where(:not(iframe, canvas, details, img, summary, svg, svg *, symbol *, video)) {
2-
all: unset;
2+
all : unset;
33
display: revert;
44
}
55

@@ -14,7 +14,7 @@
1414
}
1515

1616
:where(address, article, aside, body, dialog, div, dl, fieldset, figure, footer, form, header, hgroup, html, iframe, label, legend, li, main, menu, nav, ol, section, ul) {
17-
display: flex;
17+
display : flex;
1818
flex-direction: column;
1919
}
2020

@@ -37,6 +37,10 @@ q {
3737

3838
}
3939

40+
:focus-visible {
41+
outline: revert;
42+
}
43+
4044
html {
4145
text-size-adjust: none;
4246
}

0 commit comments

Comments
 (0)