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

Assuming we have a parameter passed to `startViewTransition` to provide a transition-name, we’d likely want customization to be supported by adding a parameter in the selectors for ::view-transition pseudo-elements (like `::view-transition-group(foo, transition-name)`). But I don't know if it addresses all use-cases, you won't be able to affect CSS of other DOM elements (like setting `view-transition-name`) using this.

Alternate would be media-query but because there will be support for concurrent transitions eventually, a global concept like media-query does not make sense.

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


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

Received on Friday, 4 August 2023 19:33:22 UTC