Skip to content

Commit 2a1c77b

Browse files
committed
modernize example
1 parent fd4c867 commit 2a1c77b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

feature-queries/or.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
border: 4px solid blue;
1313
color: blue;
1414
}
15-
@supports (display: grid) or (display: -ms-grid) {
15+
@supports (font-smooth: always) or (-webkit-font-smoothing: always) {
1616
.box {
17-
border: 4px solid red;
18-
color: red;
17+
border: 4px dashed darkgreen;
18+
color: darkgreen;
1919
}
2020
}
2121
</style>
@@ -24,8 +24,8 @@
2424
<body>
2525
<section class="preview">
2626
<div class="box">
27-
If your browser supports display: grid or display: -ms-grid, the text
28-
and border will be red.
27+
If your browser supports font smoothing, the text
28+
and border will be green.
2929
</div>
3030
</section>
3131

@@ -34,17 +34,18 @@
3434
border: 4px solid blue;
3535
color: blue;
3636
}
37-
@supports (display: grid) or (display: -ms-grid) {
37+
@supports (font-smooth: always) or (-webkit-font-smoothing: always) {
3838
.box {
39-
border: 4px solid red;
40-
color: red;
39+
border: 4px dashed darkgreen;
40+
color: darkgreen;
4141
}
42+
}
4243
}</textarea
4344
>
4445

4546
<textarea class="playable playable-html" style="height: 120px">
4647
<div class="box">
47-
If your browser supports display: grid or display: -ms-grid, the text and border will be red.
48+
If your browser supports font smoothing, the text and border will be green.
4849
</div></textarea
4950
>
5051

0 commit comments

Comments
 (0)