-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
Hello here!
Aside from the #79 issue for which there’s already a PR (#80), there’s no support for @supports nor @container queries.
For example, this @supports rule:
@supports (top: max(0px)) {
.btn {
bottom: max(calc(var(--safe-bottom)), calc(var(--some-var, 10px) - 10px));
left: max(calc(var(--safe-left)), calc(var(--some-var, 10px) - 10px));
}
}outputs the following CSS
@supports (top: max(0px)) {
.btn {
bottom: max(calc(var(--safe-bottom)), calc(var(--some-var, 10px) - 0.625rem));
left: max(calc(var(--safe-left)), calc(var(--some-var, 10px) - 0.625rem));
}I haven’t tested container queries, but according to that part of the code, I assume only @media is currently supported.
Lines 175 to 178 in 1226490
| if (opts.mediaQuery && atRule.name === "media") { | |
| if (atRule.params.indexOf("px") === -1) return; | |
| atRule.params = atRule.params.replace(pxRegex, pxReplace); | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels