- From: 一丝 via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Nov 2024 12:47:04 +0000
- To: public-css-archive@w3.org
Thinking further, is it possible to allow `<length-percentage>`? To do this, introduce the same `scroll-x/y` as `background-position-x/y`. ```css /* Scroll to 200px from the top to display the Back to Top button */ @container scroll-state(scroll-y: 200px) { .back-to-top { display: block; } } ``` This has functional overlap with `Scroll-driven Animations`, but I think it would be easier to use and more ergonomic. -- GitHub Notification of comment by yisibl Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11191#issuecomment-2473522823 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 November 2024 12:47:05 UTC