[−][src]Macro rustyle::rustyle
rustyle!() { /* proc-macro */ }
Create a style class which contains the rusty style code. Returns the name of the class.
let Global = css! { #![inject_global] body { padding: 0; } } let Button = css! { border: 1px solid black; #[allow(vendor_prefix)] ::-webkit-scrollbar { width: 10px; } } html! { ... <button class=(Button)> ... </button> ... }