Skip to content

Allow applying style rules to the container itself (especially with style querries) #10744

@LcsGa

Description

@LcsGa

Like :scope in @scope blocks or also :host in web components, adding a :container in @container especially with style querries would be an amazing addition. It would let us style a container itself based on any style rule/ custom properties applied to it without the need for wrapping it inside of another component that would be needed only for that.

Sorry, I couldn't find any related label/existing issue about it. I hope I didn't mess up 😅

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions