Skip to content

CSS support in html macro #485

@schiegl

Description

@schiegl

First of thank you for this project! I think a good addition to this project would be CSS support in the <style> tag in the html macro.

The use case would be scoped CSS. Here is an example:

html! {
    div {
        style scoped {            
                /* some css */
        }
        /* some html */
    }
}

In case others are interested, this is my workaround currently:

html! {
    div {
        style scoped {
            r#"
                /* some css */
            "#
        }
        /* some html */
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions