Re: [csswg-drafts] How to animate discrete elements using WAAPI? (#11537)

>  I could not find any way to achieve animations of overlay/display property using WAAPI.

- `overlay` is a special property that you can’t use. _(see [note in the spec](https://drafts.csswg.org/css-position-4/#overlay-guidance))_
- You can already animate the `display` property with WAAPI, given that your browser allows it to be animated _(this is currently not the case in Firefox – see https://bugzilla.mozilla.org/show_bug.cgi?id=1834877)_

Demo page: https://codepen.io/bramus/pen/LEPJMQw

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


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

Received on Tuesday, 21 January 2025 16:33:59 UTC