- From: Roman Komarov via GitHub <sysbot+gh@w3.org>
- Date: Thu, 29 Jun 2023 13:05:58 +0000
- To: public-css-archive@w3.org
I was recently exploring the possibilities of scroll-driven animations, and controlling the stack/layer ordering was one of the things I experimented on — and it seems that with the scroll-driven animations we could have a work-around/polyfill for this. Here is the section talking about this case inside my article: https://kizu.dev/position-driven-styles/#controlling-the-stacking TLDR; we can assign the z-index for elements in a container based on their position inside of it. This won't solve all the cases for layering, as it requires elements to be in the same context and have at least initial position over one of the axes in a certain order, so it would be still nice to see some way to control this natively. -- GitHub Notification of comment by kizu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2422#issuecomment-1613152596 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 29 June 2023 13:06:00 UTC