Feature: Container-Queries support / Stylis update

Author: MarcelKaemperCreated Dec 4, 2024Updated Dec 4, 2024

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