Animations and transitions from and to display none with @starting-style
One of the frustrating things when animating elements was not being able to transition to and from display none. Related to that, it also wasn’t an easy feat to use transitions for elements entering the DOM. In Chrome 117 we have the release of @starting-style, which will make animating or transitioning those cases a lot more convenient.
Read moreabout Animations and transitions from and to display none with @starting-style