123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- .parent {
- color: green;
- }
- @document url-prefix() {
- .parent .child {
- color: red;
- }
- }
- @supports (sandwitch: butter) {
- .inside .top {
- property: value;
- }
- }
- @supports (sandwitch: bread) {
- .in1 .in2 {
- property: value;
- }
- }
- @supports (sandwitch: ham) {
- .inside .top {
- property: value;
- }
- }
- @supports (font-family: weirdFont) {
- @font-face {
- font-family: something;
- src: made-up-url;
- }
- }
- @font-face {
- @supports not (-webkit-font-smoothing: subpixel-antialiased) {
- font-family: something;
- src: made-up-url;
- }
- }
- @supports (property: value) {
- @media (max-size: 2px) {
- @supports (whatever: something) {
- .outOfMedia {
- property: value;
- }
- }
- }
- }
- @supports (property: value) {
- @media (max-size: 2px) {
- @supports (whatever: something) {
- .onTop {
- property: value;
- }
- }
- }
- }
- @media print {
- html {
- in-html: visible;
- }
- @supports (upper: test) {
- html {
- in-supports: first;
- }
- html div {
- in-div: visible;
- }
- @supports not (-webkit-font-smoothing: subpixel-antialiased) {
- html div {
- in-supports: second;
- }
- @media screen {
- html div {
- font-weight: 400;
- }
- html div nested {
- property: value;
- }
- }
- }
- }
- }
- @media print and (max-size: 2px) {
- .in1 {
- stay: here;
- }
- @supports not (-webkit-font-smoothing: subpixel-antialiased) {
- @supports (whatever: something) {
- .in2 .in1 {
- property: value;
- }
- }
- }
- }
- html {
- font-weight: 300;
- -webkit-font-smoothing: subpixel-antialiased;
- }
- @supports not (-webkit-font-smoothing: subpixel-antialiased) {
- html {
- font-weight: 400;
- }
- html nested {
- property: value;
- }
- }
- .onTop {
- animation: "textscale";
- font-family: something;
- }
- @font-face {
- font-family: something;
- src: made-up-url;
- }
- @keyframes "textscale" {
- 0% {
- font-size: 1em;
- }
- 100% {
- font-size: 2em;
- }
- }
|