Macro vertigo::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;
   " }
);