File tree 3 files changed +18
-18
lines changed
3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 14
14
}
15
15
@supports (display : grid) and (shape-outside : circle ()) {
16
16
.box {
17
- border : 4px solid red;
17
+ border : 4px dashed red;
18
18
color : red;
19
19
}
20
20
}
25
25
< section class ="preview ">
26
26
< div class ="box ">
27
27
If your browser supports display: grid and shape-outside: circle(), the
28
- text and border will be red.
28
+ content will be red with a dashed border .
29
29
</ div >
30
30
</ section >
31
31
36
36
}
37
37
@supports (display: grid) and (shape-outside: circle()) {
38
38
.box {
39
- border: 4px solid red;
39
+ border: 4px dashed red;
40
40
color: red;
41
41
}
42
42
}</ textarea
43
43
>
44
44
45
45
< textarea class ="playable playable-html " style ="height: 120px ">
46
46
< div class ="box ">
47
- If your browser supports display: grid and shape-outside: circle(), the text and border will be red.
47
+ If your browser supports display: grid and shape-outside: circle(), the content will be red with a dashed border .
48
48
</ div > </ textarea
49
49
>
50
50
Original file line number Diff line number Diff line change 14
14
}
15
15
@supports not (row-gap : 10px ) {
16
16
.box {
17
- border : 4px solid red;
17
+ border : 4px dashed red;
18
18
color : red;
19
19
}
20
20
}
24
24
< body >
25
25
< section class ="preview ">
26
26
< div class ="box ">
27
- If your browser does not support row-gap, the text and border will be
28
- red.
27
+ If your browser does not support row-gap, the content will be
28
+ red with a dashed border .
29
29
</ div >
30
30
</ section >
31
31
36
36
}
37
37
@supports not (row-gap: 10px) {
38
38
.box {
39
- border: 4px solid red;
39
+ border: 4px dashed red;
40
40
color: red;
41
41
}
42
42
}</ textarea
43
43
>
44
44
45
45
< textarea class ="playable playable-html " style ="height: 120px ">
46
46
< div class ="box ">
47
- If your browser does not support row-gap, the text and border will be red.
47
+ If your browser does not support row-gap, the content will be red with a dashed border .
48
48
</ div > </ textarea
49
49
>
50
50
Original file line number Diff line number Diff line change 12
12
border : 4px solid blue;
13
13
color : blue;
14
14
}
15
- @supports (display : grid ) or (display : -ms-grid ) {
15
+ @supports (font-smooth : always ) or (-webkit-font-smoothing : always ) {
16
16
.box {
17
- border : 4px solid red ;
18
- color : red ;
17
+ border : 4px dashed darkgreen ;
18
+ color : darkgreen ;
19
19
}
20
20
}
21
21
</ style >
24
24
< body >
25
25
< section class ="preview ">
26
26
< 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 .
29
29
</ div >
30
30
</ section >
31
31
34
34
border: 4px solid blue;
35
35
color: blue;
36
36
}
37
- @supports (display: grid ) or (display: -ms-grid) {
37
+ @supports (font-smooth: always ) or (-webkit-font-smoothing: always) {
38
38
.box {
39
- border: 4px solid red ;
40
- color: red ;
39
+ border: 4px dashed darkgreen ;
40
+ color: darkgreen ;
41
41
}
42
42
}</ textarea
43
43
>
44
44
45
45
< textarea class ="playable playable-html " style ="height: 120px ">
46
46
< div class ="box ">
47
- If your browser supports display: grid or display: -ms-grid , the text and border will be red .
47
+ If your browser supports font smoothing , the text and border will be green .
48
48
</ div > </ textarea
49
49
>
50
50
You can’t perform that action at this time.
0 commit comments