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

@fantasai 

> comment from someone in thread to introduce shorthand for view-transition-name and view-transition-class

I'm not against a shorthand here, but I'm not sure it would be useful. In this thread, code examples are like:

```css
.box-1 {
  view-transition-name: box-1;
  view-transition-class: box;
}

.box-2 {
  view-transition-name: box-2;
  view-transition-class: box;
}
```

But I think real usage will be more like:

```css
.box-1 {
  view-transition-name: box-1;
}

.box-2 {
  view-transition-name: box-2;
}

.box {
  view-transition-class: box;
}
```

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


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

Received on Thursday, 4 January 2024 10:42:00 UTC