Re: [csswg-drafts] [css-animations-2, css-transitions-2] Entry and exit animations for top-layer elements (#8189)

> Both of a property and a value last once they're implemented, to the exact same degree. I don't think learnability is significantly different between the two? But being able to lean on existing functionality rather than forcing some _really_ novel cascading behavior into one specific value seems like a big benefit of using a new property.

Just wanted to +1 this point. The thing I like the most about the `overlay` property approach is that it doesn't require any new implementation or spec machinery to do with animations, and just re-uses what is already there. Likewise, it re-uses a concept of transitions that developers using animations are already familiar with. And the only new stuff for browsers to implement is how it affects what's in the top layer during the transition, which is I think a browser implementation and spec complexity that any proposal would need to have.

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


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

Received on Friday, 31 March 2023 18:56:53 UTC