Re: [csswg-drafts] [css-view-transitions-2] Syntax for customizing transitions based on their type (#8960)

> > `:view-transitiontype(foo):has(img#hero)` seems fine to me.
> 
> Then we are back at the issue as originally posted: _“one has to use a `:has()` selector on the `html` element to capture that state and then chain the pseudo-elements from there to style them.”_

I used `:has` here only as an example for pseudo-class, can be `:view-transition-type(foo):fullscreen` for that matter.

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


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

Received on Wednesday, 16 August 2023 08:45:07 UTC