Re: [csswg-drafts] [css-view-transitions-2] Creating 'classes' of transition groups (#8319)

Another option (probably useful but not enough) might be to support a syntax similar to [attribute selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors).

For elements with `view-transition-name: box-1`, `view-transition-name: box-2`, etc.:

```css
::view-transition-old(^=box-) {
  /* … */
}
```



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


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

Received on Wednesday, 24 May 2023 16:52:49 UTC