Skip to content

Feature: Container-Queries support / Stylis update #853

@MarcelKaemper

Description

@MarcelKaemper

Do you want to request a feature or report a bug?

Request a feature
Support for container queries

What is the current behavior?

Container queries are ignored by styledjsx.

What is the expected behavior?

I would like to use container queries in my next.js (14.2.18) project, which is based on styledjsx.
Using container queries in styledjsx's current state seems to be impossible. That forces me to either use conventional style tags or fall back to some other react css library.
#833 indicates that a stylis update might be "all" it needs to add container query support to styledjsx.

Are there any plans to update stylis / support container queries in the future?

Environment (include versions)

  • Version of Next.js: 14.2.18
  • Browser: Chrome
  • OS: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions