I wanted to see how hard it would be to add support for CSS inside of prettier. Turns out, it's not that hard. I spent a few hours printing post-css values and getting all the stylefmt unit tests to not throw.
9 lines
119 B
CSS
9 lines
119 B
CSS
@custom-media --small-viewport ( max-width:30em )
|
|
|
|
|
|
;
|
|
|
|
@media ( --small-viewport ){
|
|
.rule{color:blue;}
|
|
}
|