noprompt / garden

Generate CSS with Clojure
1.34k stars 87 forks source link

Add support for container queries #185

Open Jarzka opened 3 years ago

Jarzka commented 3 years ago

Hi

It seems that container queries are going to be a significant new feature in CSS: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Container_Queries https://ishadeed.com/article/say-hello-to-css-container-queries/

Could we have a support for these in Garden? Perhaps a new at-rule helper at-container?

harold commented 3 years ago

Very interesting, had not heard of that.

Here is (I think) the relevant caniuse: https://caniuse.com/css-container-queries

Jarzka commented 3 years ago

Yea, it is not yet usable in any browser without flags, so there is no hurry. But I would assume it will become popular in the coming years.

aeriksson commented 2 years ago

@Jarzka container queries are now supported in the Chrome and Safari, so it's probably time to add support. ~We'd like to start using~ We're using container queries now for https://polytope.com.