From Dev.to
Animate display: none in Pure CSS! Modern @starting-style & allow-discrete Explained
For over 10 years, transitioning elements from display: none was considered impossible in pure CSS without JavaScript reflow workarounds like requestAnimationFrame or void element.offsetWidth. Those d...
