[v4] How to utilize --breakpoint-*
variables in CSS
#13371
Unanswered
corneliusio
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if I'm missing something here, but I haven't quite figured out how the
--breakpoint-*
variables are intended to be used in v4 when writing media queries in your CSS files.The fundamental issue is that CSS variables can't be used in
@media
queries as conditions. I know we can still@apply
media query variants and that's fine, but it's pretty official at this point that@apply
is not recommended.And to the team, loving v4 so far. Thanks for all the incredible work!
Beta Was this translation helpful? Give feedback.
All reactions