Skip to content

How to style host and slot elements with Lit #504

Closed
@rolznz

Description

@rolznz

The documentation for lit https://twind.style/with-lit only provides an example of how to use tailwind classes in the render function, but there seems to be no way to style the :host element without using standard css. Passing classes to a slot element seems to also do nothing.

Are there any example of these?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    🛑 AbandonedThe issue or Pull Request will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions