We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad38926 commit f75f07eCopy full SHA for f75f07e
source/_patterns/00-base/icons/_icons.helpers.scss
@@ -31,8 +31,10 @@
31
}
32
33
content: var(--icon-glyph-#{$position});
34
- // Hiding icon from screenreaders
35
- content: var(--icon-glyph-#{$position}) / ""; // https://www.w3.org/TR/css-content-3/#alt
+ @supports (content: ""/"") {
+ // Hiding icon from screenreaders
36
+ content: var(--icon-glyph-#{$position}) / ""; // https://www.w3.org/TR/css-content-3/#alt
37
+ }
38
39
@if $partial {
40
display: inline-block;
0 commit comments