`@container` should bubble by default
mayank99 opened this issue · 3 comments
mayank99 commented
Consider this code:
a {
color: hotpink;
@container (min-width: 200px) {
color: rebeccapurple;
}
}
When running through postcss-nested
, it seems to remain unchanged.
I would have expected the above to produce:
a {
color: hotpink;
}
@container (min-width: 200px) {
a {
color: rebeccapurple;
}
}
Container queries are now supported in 80% of browsers worldwide, so it makes sense to handle it by default rather than require it to be manually passed to the bubble
option.
ai commented
Released in 6.1.
mayank99 commented
awesome, thank you!