We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@supports
You have this example:
:root { --vh-offset: 0px; } main { min-height: calc(100vh); @supports (height: var(--vh-offset)) { min-height: calc(100vh - var(--vh-offset)); } }
but it seems like it should work just as well without @supports:
:root { --vh-offset: 0px; } main { min-height: calc(100vh); min-height: calc(100vh - var(--vh-offset)); }
var()
100vh
0px
The text was updated successfully, but these errors were encountered:
@mirisuzanne You point it right, no real reason…
I think I was just in the mood of over-engineering :S
I will modify documentation accordingly. Thank you very much for this :)
Sorry, something went wrong.
Great, thanks for the vh-check — very useful!
No branches or pull requests
You have this example:
but it seems like it should work just as well without
@supports
:var()
is not supported, that second value will be ignored, leaving you with the first100vh
value.var()
is supported, but vh-offset isn't needed, it will be set to0px
still, and have no effect.The text was updated successfully, but these errors were encountered: