Re: [csswg-drafts] [view-transitions-2] Allow styling based on navigation/transition state (#10434)

So this is somethlng like having CSS instead of the following line?
```js
addEventListener("pagereveal", e => document.documentElement.classList.toggle("has-view-transition", !!e.viewTransition)`
```

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10434#issuecomment-2162748599 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 June 2024 11:14:47 UTC