Re: [w3ctag/design-reviews] Entry and Exit Animations (Issue #829)

I think one question I'd be interested in seeing answered regarding this new feature is why:

```
dialog {
  @starting-style {
     opacity: 0;
  }
  transition: opacity 0.4s;
}
```
is preferable over:
```
@keyframes fade-in {
  0% { opacity: 0 }
}
dialog {
  animation: fade-in 0.4s;
}
```

They both work and achieve the same use case, and the new syntax isn't that much shorter.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/829#issuecomment-1603357680
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/829/1603357680@github.com>

Received on Thursday, 22 June 2023 21:48:42 UTC