css_block

Macro css_block 

Source
css_block!() { /* proc-macro */ }
Expand description

Constructs a CSS block that can be manually pushed into existing Css styles instance.

use vertigo::{css, css_block};

let mut green_style = css! {"
    color: green;
"};

green_style.push_str(
    css_block! {"
        font-style: italic;
   "}
);