stylist 0.15.1

Stylist is a CSS-in-Rust styling solution for WebAssembly Applications.
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    let is_an_expression = "black";
    let _ = stylist::css! {
        .outer {
            border: ${is_an_expression};
            background-color: {should_be_expression};
            color: {another_expression};
        }
    };
}