| 1 |
body { |
| 2 |
font-size: 24px; |
| 3 |
} |
| 4 |
|
| 5 |
@media screen and (orientation: landscape) { |
| 6 |
body { |
| 7 |
font-size: 32px; |
| 8 |
} |
| 9 |
|
| 10 |
} |
| 11 |
/*@import url("./c.css") supports(display: flex);*/ |
| 12 |
/*@import url("./d.css") supports(display: flex) screen and (min-width: 400px);*/ |
| 13 |
/*@import url("./e.css") supports( display : flex ) screen and ( min-width : 400px ) ;*/ |
| 14 |
/*@import url("./f.css") supports(not (display: flex));*/ |
| 15 |
/*@import url("./g.css") SUPPORTS(NOT (DISPLAY: FLEX));*/ |
| 16 |
|
| 17 |
div { |
| 18 |
color: blue; |
| 19 |
} |
| 20 |
|
| 21 |
@media { |
| 22 |
div { |
| 23 |
color: red; |
| 24 |
} |
| 25 |
} |
| 26 |
|
| 27 |
@media screen and (min-width: 900px) { |
| 28 |
article { |
| 29 |
padding: 1rem 3rem; |
| 30 |
} |
| 31 |
} |
| 32 |
|
| 33 |
@supports (display: flex) { |
| 34 |
@media screen and (min-width: 900px) { |
| 35 |
article { |
| 36 |
display: flex; |
| 37 |
} |
| 38 |
} |
| 39 |
} |
| 40 |
|