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
37
38
39
40
41
42
43
44
45
46
47
48
49
pub use EmbedDom;
/// Allows to define a Css styles factory function for virtual DOM.
///
/// ```rust
/// use vertigo::css_fn;
///
/// css_fn! { green_on_red, "
/// color: green;
/// background-color: red;
/// " }
/// ```
/// Allows to define a Css styles factory function for virtual DOM
/// based on existing function but with added new rules.
///
/// ```rust
/// use vertigo::{css_fn, css_fn_push};
///
/// css_fn! { green, "
/// color: green;
/// " }
///
/// css_fn_push! { green_and_italic, green, "
/// font-style: italic;
/// " }
/// ```