sass-spec/spec/scss/media/interpolated/input.scss
raw| 1 | // You can interpolate into a media type. |
| 2 | @media bar#{12} {x {y: z}} |
| 3 | |
| 4 | // Media queries should be reparsed after interpolation is resolved. |
| 5 | @media #{"only screen"} and |
| 6 | #{"(min-width: 700px)"} and |
| 7 | #{"(max-width: "+"1920px)"} { |
| 8 | x {y: z} |
| 9 | } |
| 10 | |
| 11 | // Queries don't have to fully parse before interpolation is resolved. |
| 12 | @media scr#{"een, pri"}nt a#{"nd (max-width: 300px)"} {x {y: z}} |
| 13 | |
| 14 | |
| 15 |