Re: [csswg-drafts] [css-view-transitions-1] CSS selector syntax for generated elements and API names (#7788)

@fantasai and @mirisuzanne suggested a syntax like this:

```css
html::view-transition(.header new) {
  …
}
```

Where the bit within `view-transition()` would allow for a complex selector where the `view-transition-name` is 'turned into' a class name, and the parts of the structure are 'turned into' tag names. So the above is selecting 'new' parts within the container with `view-transition-name` of `header`.

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


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

Received on Wednesday, 26 October 2022 17:01:21 UTC