- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 May 2024 14:43:44 +0000
- To: public-css-archive@w3.org
> I really needed it many times trying to get something like `first-supported(100lvh, 100vh)`
This is not as useful for static things like that, as you can just do:
```css
:root {
--viewport-height: 100vh;
@supports(height: 100lvh) {
--viewport-height: 100lvh;
}
}
```
Then use `var(--viewport-height)` throughout your CSS.
--
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5055#issuecomment-2104736757 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 May 2024 14:43:45 UTC