Open chrisdeeming opened 7 months ago
The preprocessor doesn't get this right as the closing brace is lost.
Though new native nesting does support this syntax if you try this is the latest firefox, for example:
html {
letter-spacing: 1px;
@media (min-width: 400px) {letter-spacing: 2px;}
@media (min-width: 800px) {letter-spacing: 3px;}
@media (min-width: 1200px) {letter-spacing: 4px;}
}
Consider the following input:
Most pre-processors would process this as:
Unfortunately this is the result from Crush:
This is invalid in a couple of ways: