1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
fn main() { // let style_text = r#" // .my-class { // color: #abc; // } // @media (max-width: 800px) { // .my-class { // color: #def; // } // } // @media only screen and (max-width: 900px), not screen and (min-width: 400px) { // .my-class { // color: 123 // } // } // "#; let _st = r#" #a { height: 100px; } .b { height: 200px !important; width: 400px; } .b { height: 300px; overflow: hidden auto; transition-property: overflow, all, width; } "#; // #[cfg(debug_assertions)] // println!( // "{}", // float_pigment_css::compile_style_sheet_to_json("text", st) // ); }